1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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 Leffler 2006-05-08 20:11:09 +00:00
parent f7bb71361e
commit 6ccb8ea780
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158366
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 */