quiet tindexbox complaints about passing BUS_SPACE_MAXADDR as

a bus_size_t to bus_dma_tag_create; when PAE is enabled this
does not work

Cluebat by:	scottl
MFC after:	2 weeks
This commit is contained in:
sam 2006-05-08 20:11:09 +00:00
parent 478a691b77
commit 7426faf73e
2 changed files with 2 additions and 2 deletions

View File

@ -2372,7 +2372,7 @@ ath_descdma_setup(struct ath_softc *sc,
NULL, NULL, /* filter, filterarg */
dd->dd_desc_len, /* maxsize */
1, /* nsegments */
BUS_SPACE_MAXADDR, /* maxsegsize */
dd->dd_desc_len, /* maxsegsize */
BUS_DMA_ALLOCNOW, /* flags */
NULL, /* lockfunc */
NULL, /* lockarg */

View File

@ -183,7 +183,7 @@ ath_pci_attach(device_t dev)
NULL, NULL, /* filter, filterarg */
0x3ffff, /* maxsize XXX */
ATH_MAX_SCATTER, /* nsegments */
BUS_SPACE_MAXADDR, /* maxsegsize */
0x3ffff, /* maxsegsize XXX */
BUS_DMA_ALLOCNOW, /* flags */
NULL, /* lockfunc */
NULL, /* lockarg */