patch-1.3.31 linux/drivers/scsi/eata_pio.c
Next file: linux/drivers/scsi/scsi_proc.c
Previous file: linux/drivers/scsi/eata_generic.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Sep 29 09:27:29 1995
- Orig file:
v1.3.30/linux/drivers/scsi/eata_pio.c
- Orig date:
Mon Sep 25 12:26:22 1995
diff -u --recursive --new-file v1.3.30/linux/drivers/scsi/eata_pio.c linux/drivers/scsi/eata_pio.c
@@ -783,11 +783,12 @@
SD(sh)->hostid=gc->scsi_id[3];
SD(sh)->devflags=1<<gc->scsi_id[3];
SD(sh)->moresupport=gc->MORE_support;
+ sh->unique_id = base;
sh->base = (char *) base;
- sh->io_port = (ushort) base;
+ sh->io_port = base;
sh->n_io_port = 8;
sh->irq = gc->IRQ;
- sh->dma_channel = 0xfe; /* PIO */
+ sh->dma_channel = PIO;
sh->this_id = gc->scsi_id[3];
sh->can_queue = 1;
sh->cmd_per_lun = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this