patch-1.3.61 linux/drivers/block/triton.c

Next file: linux/drivers/block/umc8672.c
Previous file: linux/drivers/block/rz1000.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.60/linux/drivers/block/triton.c linux/drivers/block/triton.c
@@ -1,5 +1,5 @@
 /*
- *  linux/drivers/block/triton.c	Version 1.05  Jan 11, 1996
+ *  linux/drivers/block/triton.c	Version 1.06  Feb 6, 1996
  *
  *  Copyright (c) 1995-1996  Mark Lord
  *  May be copied or modified under the terms of the GNU General Public License
@@ -319,7 +319,7 @@
 	if (check_region(base, 8)) {
 		printk(" -- ERROR, PORTS ALREADY IN USE");
 	} else {
-		request_region(base, 8, hwif->name);
+		request_region(base, 8, "triton DMA");
 		hwif->dma_base = base;
 		if (!dmatable) {
 			/*
@@ -364,7 +364,6 @@
 	int dma_enabled = 0;
 	unsigned short bmiba, pcicmd;
 	unsigned int timings;
-	extern ide_hwif_t ide_hwifs[];
 
 	printk("ide: Triton BM-IDE on PCI bus %d function %d\n", bus, fn);
 	/*
@@ -409,12 +408,14 @@
 			time = timings & 0xffff;
 			if ((timings & 0x8000) == 0)	/* interface enabled? */
 				continue;
+			hwif->chipset = ide_triton;
 			if (dma_enabled)
 				init_triton_dma(hwif, bmiba);
 		} else if (hwif->io_base == 0x170) {
 			time = timings >> 16;
 			if ((timings & 0x8000) == 0)	/* interface enabled? */
 				continue;
+			hwif->chipset = ide_triton;
 			if (dma_enabled)
 				init_triton_dma(hwif, bmiba + 8);
 		} else

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