Re: Linux 2.2.13pre18

Dominik Kubla (dominik.kubla@uni-mainz.de)
Sun, 24 Oct 1999 18:24:29 +0200


--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii

On Mon, Oct 18, 1999 at 10:31:18PM +0100, Alan Cox wrote:
>
> This is the stuff that turned up last moment, also an important fix from
> Dave. I'll give this a week to test and then drop it in the direction of
> Linus.
>

Here is a small patch to correctly identify the UM8673F IDE-Controller
(subfunction 1 of the UM8886N PCI-ISA bridge) as found on the Highscreen
LeBook laptops. It still doesn't work in DMA mode, but that could be
a chipset limitation and should be sorted out by people having the data
sheet at hand.

Yours,
Dominik Kubla

--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ide-umc8673f.diff"

--- linux/drivers/block/ide-pci.c.save Mon Jan 25 06:54:35 1999
+++ linux/drivers/block/ide-pci.c Sat Oct 23 18:15:00 1999
@@ -44,6 +44,7 @@
#define DEVID_HT6565 ((ide_pci_devid_t){PCI_VENDOR_ID_HOLTEK, PCI_DEVICE_ID_HOLTEK_6565})
#define DEVID_AEC6210 ((ide_pci_devid_t){PCI_VENDOR_ID_ARTOP, PCI_DEVICE_ID_ARTOP_ATP850UF})
#define DEVID_W82C105 ((ide_pci_devid_t){PCI_VENDOR_ID_WINBOND, PCI_DEVICE_ID_WINBOND_82C105})
+#define DEVID_UM8673F ((ide_pci_devid_t){PCI_VENDOR_ID_UMC, PCI_DEVICE_ID_UMC_UM8673F})
#define DEVID_UM8886A ((ide_pci_devid_t){PCI_VENDOR_ID_UMC, PCI_DEVICE_ID_UMC_UM8886A})
#define DEVID_UM8886BF ((ide_pci_devid_t){PCI_VENDOR_ID_UMC, PCI_DEVICE_ID_UMC_UM8886BF})
#define DEVID_HPT343 ((ide_pci_devid_t){PCI_VENDOR_ID_TTI, PCI_DEVICE_ID_TTI_HPT343})
@@ -138,6 +139,7 @@
{DEVID_NS87415, "NS87415", INIT_NS87415, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_AEC6210, "AEC6210", NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 0 },
{DEVID_W82C105, "W82C105", INIT_W82C105, {{0x40,0x01,0x01}, {0x40,0x10,0x10}}, ON_BOARD, 0 },
+ {DEVID_UM8673F,"UM8673F", NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_UM8886A, "UM8886A", NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_UM8886BF,"UM8886BF", NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_HPT343, "HPT343", NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, NEVER_BOARD, 16 },
@@ -382,7 +384,8 @@
}
}
if (IDE_PCI_DEVID_EQ(d->devid, DEVID_UM8886A) ||
- IDE_PCI_DEVID_EQ(d->devid, DEVID_UM8886BF))
+ IDE_PCI_DEVID_EQ(d->devid, DEVID_UM8886BF) ||
+ IDE_PCI_DEVID_EQ(d->devid, DEVID_UM8673F))
hwif->irq = hwif->channel ? 15 : 14;

#ifdef CONFIG_BLK_DEV_IDEDMA

--SUOF0GtieIMvvwua--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/