patch-2.3.32 linux/drivers/block/swim3.c
Next file: linux/drivers/block/swim_iop.c
Previous file: linux/drivers/block/rd.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Dec 12 23:02:23 1999
- Orig file:
v2.3.31/linux/drivers/block/swim3.c
- Orig date:
Tue May 11 23:36:27 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/block/swim3.c linux/drivers/block/swim3.c
@@ -219,7 +219,7 @@
static void swim3_select(struct floppy_state *fs, int sel);
static void swim3_action(struct floppy_state *fs, int action);
static int swim3_readbit(struct floppy_state *fs, int bit);
-static void do_fd_request(void);
+static void do_fd_request(request_queue_t * q);
static void start_request(struct floppy_state *fs);
static void set_timeout(struct floppy_state *fs, int nticks,
void (*proc)(unsigned long));
@@ -290,7 +290,7 @@
return (stat & DATA) == 0;
}
-static void do_fd_request(void)
+static void do_fd_request(request_queue_t * q)
{
int i;
for(i=0;i<floppy_count;i++)
@@ -1089,7 +1089,7 @@
MAJOR_NR);
return -EBUSY;
}
- blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
+ blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), DEVICE_REQUEST);
blksize_size[MAJOR_NR] = floppy_blocksizes;
blk_size[MAJOR_NR] = floppy_sizes;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)