patch-2.3.40 linux/drivers/cdrom/aztcd.c
Next file: linux/drivers/cdrom/cdrom.c
Previous file: linux/drivers/block/xd.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Tue Jan 18 18:54:21 2000
- Orig file:
v2.3.39/linux/drivers/cdrom/aztcd.c
- Orig date:
Tue Jan 11 22:31:39 2000
diff -u --recursive --new-file v2.3.39/linux/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c
@@ -1796,6 +1796,7 @@
blksize_size[MAJOR_NR] = aztcd_blocksizes;
#endif
read_ahead[MAJOR_NR] = 4;
+ register_disk(NULL, MKDEV(MAJOR_NR,0), 1, &azt_fops, 0);
if ((azt_port==0x1f0)||(azt_port==0x170))
request_region(azt_port, 8, "aztcd"); /*IDE-interface*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)