diff options
author | 2003-10-25 12:35:32 +0000 | |
---|---|---|
committer | 2003-10-25 12:35:32 +0000 | |
commit | 0820305545bc14e1064e2059c190d57072f4aa8f (patch) | |
tree | 74f4b6e266a4ce375a7ee6e3346201a94be9b537 | |
parent | additional hash for local port; improves speed of implicit bind (diff) | |
download | wireguard-openbsd-0820305545bc14e1064e2059c190d57072f4aa8f.tar.xz wireguard-openbsd-0820305545bc14e1064e2059c190d57072f4aa8f.zip |
Support the TI1410 Cardbus bridge found in some apple laptops. ok brad@
-rw-r--r-- | sys/arch/macppc/macppc/rbus_machdep.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/rbus_machdep.c b/sys/arch/macppc/macppc/rbus_machdep.c index e44ece92498..4a3576e1b30 100644 --- a/sys/arch/macppc/macppc/rbus_machdep.c +++ b/sys/arch/macppc/macppc/rbus_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus_machdep.c,v 1.4 2003/10/15 17:50:16 drahn Exp $ */ +/* $OpenBSD: rbus_machdep.c,v 1.5 2003/10/25 12:35:32 drahn Exp $ */ /* $NetBSD: rbus_machdep.c,v 1.2 1999/10/15 06:43:06 haya Exp $ */ /* @@ -139,4 +139,14 @@ macppc_cardbus_init(pci_chipset_tag_t pc, pcitag_t tag) pci_conf_write(pc, tag, 0x40, x); } } + + if (PCI_VENDOR(x) == PCI_VENDOR_TI && + PCI_PRODUCT(x) == PCI_PRODUCT_TI_PCI1410) { + /* dont mess with the bus numbers or latency timer */ + + /* Route INTA to MFUNC0 */ + x = pci_conf_read(pc, tag, 0x8c); + x |= 0x02; + pci_conf_write(pc, tag, 0x8c, x); + } } |