diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-09-06 22:24:15 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-09-06 22:24:15 +0000 |
commit | 26436ffa8c425e275487cb04c9b48e76cf5c1ff8 (patch) | |
tree | a51a97ddf1c862db85cb17cc6e9ef9781abaefa8 /sys/dev/pci/siop_pci_common.c | |
parent | 82222111187dc4f6b4ee306751765ea7e73df985 (diff) |
A couple of hppa-only changes, allowing siop to work on pci hppa
machines.
Align siop_xfer on 128 byte boundary, and don't use on-board RAM.
Aligning siop_xfer will be made general, post-3.4.
From mickey@.
ok deraadt@ mickey@.
Diffstat (limited to 'sys/dev/pci/siop_pci_common.c')
-rw-r--r-- | sys/dev/pci/siop_pci_common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/siop_pci_common.c b/sys/dev/pci/siop_pci_common.c index f90d620e8c9..301634027e3 100644 --- a/sys/dev/pci/siop_pci_common.c +++ b/sys/dev/pci/siop_pci_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siop_pci_common.c,v 1.9 2002/09/16 00:53:12 krw Exp $ */ +/* $OpenBSD: siop_pci_common.c,v 1.10 2003/09/06 22:24:14 krw Exp $ */ /* $NetBSD: siop_pci_common.c,v 1.17 2002/05/04 18:11:06 bouyer Exp $ */ /* @@ -233,6 +233,10 @@ siop_pci_attach_common(pci_sc, siop_sc, pa, intr) } /* copy interesting infos about the chip */ siop_sc->features = pci_sc->sc_pp->features; +#ifdef __hppa__ + /* XXX On board ram doesn't work (yet?) on hppa. */ + siop_sc->features &= ~SF_CHIP_RAM; +#endif #ifdef SIOP_SYMLED /* XXX Should be a devprop! */ siop_sc->features |= SF_CHIP_LED0; #endif |