Messages in this thread Patch in this message | | | Date | Fri, 21 Mar 2003 11:45:53 +0900 | From | Osamu Tomita <> | Subject | [PATCH 2.5.65-ac1] Support PC-9800 subarchitecture (5/14) floppy update |
| |
This is the patch to support NEC PC-9800 subarchitecture against 2.5.65-ac1. (5/14)
Update drivers/block/floppy98.c to syncronize with 2.5.65. (Driver for PC98 standard floppy disk drive.)
diff -Nru linux-2.5.65-ac1/drivers/block/floppy98.c linux98-2.5.65/drivers/block/floppy98.c --- linux-2.5.65-ac1/drivers/block/floppy98.c 2003-03-20 09:09:42.000000000 +0900 +++ linux98-2.5.65/drivers/block/floppy98.c 2003-03-18 11:57:40.000000000 +0900 @@ -4273,8 +4273,7 @@ } devfs_mk_dir (NULL, "floppy", NULL); - if (register_blkdev(FLOPPY_MAJOR,"fd",&floppy_fops)) { - printk("Unable to get major %d for floppy\n",FLOPPY_MAJOR); + if (register_blkdev(FLOPPY_MAJOR,"fd")) { err = -EBUSY; goto out; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |