From dbccc4a13aa7de1069434384b5dcb884e4c047f9 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Sun, 7 Jan 2001 23:58:07 +0000 Subject: Add the Synchronize command to umass_atapi_transform. It seems to work unmodified for ATAPI type devices. --- sys/dev/usb/umass.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 9971b11bacd0..9a8e30bcb12f 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -2745,6 +2745,7 @@ umass_atapi_transform(struct umass_softc *sc, unsigned char *cmd, int cmdlen, case READ_10: case WRITE_10: case POSITION_TO_ELEMENT: /* SEEK_10 */ + case SYNCHRONIZE_CACHE: case MODE_SELECT_10: case MODE_SENSE_10: /* Copy the command into the (zeroed out) destination buffer */ -- cgit v1.3