patch-2.4.10 linux/drivers/block/amiflop.c
Next file: linux/drivers/block/ataflop.c
Previous file: linux/drivers/block/acsi.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Sep 13 15:21:32 2001
- Orig file:
v2.4.9/linux/drivers/block/amiflop.c
- Orig date:
Sat Apr 28 11:27:53 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/block/amiflop.c linux/drivers/block/amiflop.c
@@ -118,6 +118,7 @@
static long int fd_def_df0 = FD_DD_3; /* default for df0 if it doesn't identify */
MODULE_PARM(fd_def_df0,"l");
+MODULE_LICENSE("GPL");
/*
* Macros
@@ -1555,6 +1556,9 @@
break;
case BLKGETSIZE:
return put_user(unit[drive].blocks,(long *)param);
+ break;
+ case BLKGETSIZE64:
+ return put_user((u64)unit[drive].blocks << 9, (u64 *)param);
break;
case FDSETPRM:
case FDDEFPRM:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)