patch-2.3.50 linux/drivers/block/ide-cd.c
Next file: linux/drivers/block/ide-pmac.c
Previous file: linux/drivers/block/cpqarray.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Mar 3 12:59:50 2000
- Orig file:
v2.3.49/linux/drivers/block/ide-cd.c
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.3.49/linux/drivers/block/ide-cd.c linux/drivers/block/ide-cd.c
@@ -1883,7 +1883,7 @@
char buffer[16];
int stat;
- init_cdrom_command(&cgc, buffer, sizeof(buffer));
+ init_cdrom_command(&cgc, buffer, sizeof(buffer), CGC_DATA_UNKNOWN);
/* These will be moved into the Uniform layer shortly... */
switch (cmd) {
@@ -2075,7 +2075,7 @@
if ((stat = cdrom_select_speed (drive, speed)) < 0)
return stat;
- init_cdrom_command(&cgc, &buf, sizeof(buf));
+ init_cdrom_command(&cgc, &buf, sizeof(buf), CGC_DATA_UNKNOWN);
#ifndef __ACER50__
/* Now with that done, update the speed fields */
@@ -2303,7 +2303,7 @@
return nslots;
}
- init_cdrom_command(&cgc, &buf, sizeof(buf));
+ init_cdrom_command(&cgc, &buf, sizeof(buf), CGC_DATA_UNKNOWN);
/* we have to cheat a little here. the packet will eventually
* be queued with ide_cdrom_packet(), which extracts the
* drive from cdi->handle. Since this device hasn't been
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)