diff options
author | 2002-02-18 23:25:38 +0000 | |
---|---|---|
committer | 2002-02-18 23:25:38 +0000 | |
commit | 647eb598ce41acc51f8670ad81a14a408747a2c4 (patch) | |
tree | a76e8f1d373e4d903e6b9d395cfdc957dd697c95 | |
parent | Correct fix for breakage in rev 1.23. Sorry for the mess. (diff) | |
download | wireguard-openbsd-647eb598ce41acc51f8670ad81a14a408747a2c4.tar.xz wireguard-openbsd-647eb598ce41acc51f8670ad81a14a408747a2c4.zip |
This should fix AHA-3950BU2.
-rw-r--r-- | sys/dev/pci/ahc_pci.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c index 7244aef20ea..6516e56df42 100644 --- a/sys/dev/pci/ahc_pci.c +++ b/sys/dev/pci/ahc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ahc_pci.c,v 1.27 2002/02/16 04:36:32 smurph Exp $ */ +/* $OpenBSD: ahc_pci.c,v 1.28 2002/02/18 23:25:38 smurph Exp $ */ /* $NetBSD: ahc_pci.c,v 1.9 1996/10/21 22:56:24 thorpej Exp $ */ /* @@ -221,6 +221,9 @@ void *aux; struct ahc_softc *ahc = (void *)self; pcireg_t devconfig; pcireg_t command; + + /* setup the PCI stuff */ + ahc->dev_softc = pa; /* * We really don't allocate our softc, but @@ -401,8 +404,7 @@ void *aux; break; } - /* setup the PCI stuff */ - ahc->dev_softc = pa; + /* setup the PCI interrupt */ ahc->platform_data->pci_intr_func = ahc_pci_intr; if(ahc_do_pci_config(ahc)){ |