diff options
author | marius <marius@FreeBSD.org> | 2007-05-20 13:06:45 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-05-20 13:06:45 +0000 |
commit | 42e374c608c2270663f61283f5027eb60ea5f2d1 (patch) | |
tree | 690d887b782f7b12b5b2fc1007cf34bacaff4ed5 /sys/sparc64/pci | |
parent | e8883b901bcf3e66fde285cccff61a050c780ed0 (diff) | |
download | FreeBSD-src-42e374c608c2270663f61283f5027eb60ea5f2d1.zip FreeBSD-src-42e374c608c2270663f61283f5027eb60ea5f2d1.tar.gz |
Delete the unused/not really used sparc64 (as in sun4u) cache.h,
iommureg.h (which already began to bitrot) and iommuvar.h from the
sun4v source and adjust some of the source which is shared between
sparc64 and sun4v as appropriate.
Diffstat (limited to 'sys/sparc64/pci')
-rw-r--r-- | sys/sparc64/pci/ofw_pcibus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/pci/ofw_pcibus.c b/sys/sparc64/pci/ofw_pcibus.c index d5293e1..8858373 100644 --- a/sys/sparc64/pci/ofw_pcibus.c +++ b/sys/sparc64/pci/ofw_pcibus.c @@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$"); #include <machine/bus_common.h> #ifndef SUN4V #include <machine/cache.h> -#endif #include <machine/iommureg.h> +#endif #include <machine/resource.h> #include <dev/pci/pcireg.h> @@ -162,8 +162,8 @@ ofw_pcibus_setup_device(device_t bridge, u_int busno, u_int slot, u_int func) (clnsz / 4) * 4 == clnsz, ("bogus cache line size %d", clnsz)); PCIB_WRITE_CONFIG(bridge, busno, slot, func, PCIR_CACHELNSZ, clnsz / 4, 1); - #endif + /* * The preset in the intline register is usually wrong. Reset it to 255, * so that the PCI code will reroute the interrupt if needed. |