diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-01-10 04:04:14 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-01-10 04:04:14 +0000 |
commit | 3b19757bd89e2d656d732c7d9b54e46472ea7f98 (patch) | |
tree | 310898052cbafce7b91476af44f4a13afda0174b /sys/dev/pci/if_xl_pci.c | |
parent | e812c182ab0080ae9cebdd2d17ab4e0d3ab20f30 (diff) |
Set XL_FLAG_FUNCREG for "cyclone" variants. This makes them see interrupts
such that they actually work.
ok jsg@
Diffstat (limited to 'sys/dev/pci/if_xl_pci.c')
-rw-r--r-- | sys/dev/pci/if_xl_pci.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_xl_pci.c b/sys/dev/pci/if_xl_pci.c index 300ba0e42f7..44cfaa651c2 100644 --- a/sys/dev/pci/if_xl_pci.c +++ b/sys/dev/pci/if_xl_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl_pci.c,v 1.26 2009/10/15 17:54:56 deraadt Exp $ */ +/* $OpenBSD: if_xl_pci.c,v 1.27 2010/01/10 04:04:13 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -189,24 +189,29 @@ xl_pci_attach(struct device *parent, struct device *self, void *aux) case PCI_PRODUCT_3COM_3CCFE575BT: sc->xl_flags = XL_FLAG_PHYOK | XL_FLAG_EEPROM_OFFSET_30 | XL_FLAG_8BITROM | XL_FLAG_INVERT_LED_PWR; + sc->xl_flags |= XL_FLAG_FUNCREG; break; case PCI_PRODUCT_3COM_3CCFE575CT: sc->xl_flags = XL_FLAG_PHYOK | XL_FLAG_EEPROM_OFFSET_30 | XL_FLAG_8BITROM | XL_FLAG_INVERT_MII_PWR; + sc->xl_flags |= XL_FLAG_FUNCREG; break; case PCI_PRODUCT_3COM_3CCFEM656: sc->xl_flags = XL_FLAG_PHYOK | XL_FLAG_EEPROM_OFFSET_30 | XL_FLAG_8BITROM | XL_FLAG_INVERT_LED_PWR | XL_FLAG_INVERT_MII_PWR; + sc->xl_flags |= XL_FLAG_FUNCREG; break; case PCI_PRODUCT_3COM_3CCFEM656B: sc->xl_flags = XL_FLAG_PHYOK | XL_FLAG_EEPROM_OFFSET_30 | XL_FLAG_8BITROM | XL_FLAG_INVERT_LED_PWR | XL_FLAG_INVERT_MII_PWR; + sc->xl_flags |= XL_FLAG_FUNCREG; break; case PCI_PRODUCT_3COM_3CCFEM656C: sc->xl_flags = XL_FLAG_PHYOK | XL_FLAG_EEPROM_OFFSET_30 | XL_FLAG_8BITROM | XL_FLAG_INVERT_MII_PWR; + sc->xl_flags |= XL_FLAG_FUNCREG; break; default: break; |