diff options
author | Marius Strobl <marius@FreeBSD.org> | 2008-04-26 14:13:48 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2008-04-26 14:13:48 +0000 |
commit | 44f8f2fc051c8182e7c926512609e40d694f4dac (patch) | |
tree | df32f746c53a5812d0af87c15c0bde5fae748a69 /sys/dev/ti | |
parent | dd77f9f7f2fe797ea674499c339248f5b5ca0664 (diff) | |
download | src-44f8f2fc051c8182e7c926512609e40d694f4dac.tar.gz src-44f8f2fc051c8182e7c926512609e40d694f4dac.zip |
Notes
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 fd9d8ca62a37..a1b9c9d89b12 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"); |