diff options
author | marius <marius@FreeBSD.org> | 2008-04-26 14:13:48 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-04-26 14:13:48 +0000 |
commit | ed5b3d4217956e072bb2e8353a32ceb66d2db84e (patch) | |
tree | df32f746c53a5812d0af87c15c0bde5fae748a69 /sys/dev/ti | |
parent | 4a87c82b19ca031a0e28d32a971c9901e526c2a6 (diff) | |
download | FreeBSD-src-ed5b3d4217956e072bb2e8353a32ceb66d2db84e.zip FreeBSD-src-ed5b3d4217956e072bb2e8353a32ceb66d2db84e.tar.gz |
Remove some remnant alpha hacks.
Approved by: PCI-maintainers (imp, jhb)
Diffstat (limited to 'sys/dev/ti')
-rw-r--r-- | sys/dev/ti/if_ti.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index fd9d8ca..a1b9c9d 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -2009,18 +2009,7 @@ ti_chipinit(sc) } } -#ifdef __brokenalpha__ - /* - * From the Alteon sample driver: - * Must insure that we do not cross an 8K (bytes) boundary - * for DMA reads. Our highest limit is 1K bytes. This is a - * restriction on some ALPHA platforms with early revision - * 21174 PCI chipsets, such as the AlphaPC 164lx - */ - TI_SETBIT(sc, TI_PCI_STATE, pci_writemax|TI_PCI_READMAX_1024); -#else TI_SETBIT(sc, TI_PCI_STATE, pci_writemax); -#endif /* This sets the min dma param all the way up (0xff). */ TI_SETBIT(sc, TI_PCI_STATE, TI_PCISTATE_MINDMA); @@ -2314,7 +2303,7 @@ ti_attach(dev) rid = TI_PCI_LOMEM; sc->ti_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, - RF_ACTIVE|PCI_RF_DENSE); + RF_ACTIVE); if (sc->ti_res == NULL) { device_printf(dev, "couldn't map memory\n"); |