patch-2.3.40 linux/drivers/ap1000/ap.c
Next file: linux/drivers/ap1000/ddv.c
Previous file: linux/drivers/acorn/scsi/Config.in
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jan 18 18:54:20 2000
- Orig file:
v2.3.39/linux/drivers/ap1000/ap.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.39/linux/drivers/ap1000/ap.c linux/drivers/ap1000/ap.c
@@ -274,6 +274,8 @@
blksize_size[MAJOR_NR] = ap_blocksizes;
read_ahead[MAJOR_NR] = 32; /* 16k read ahead */
+ for (i=0;i<NUM_APDEVS;i++)
+ register_disk(NILL, MKDEV(MAJOR_NR,i), 1, &ap_fops, 0);
return(0);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)