0x7FFFFFFFFF is >32 bits and needs an explicit LL.

This commit is contained in:
des 2003-10-23 13:42:03 +00:00
parent 365ce457b0
commit 1ec0dcda30
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ ahc_pci_attach(device_t dev)
error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1,
/*boundary*/0,
(ahc->flags & AHC_39BIT_ADDRESSING)
? 0x7FFFFFFFFF
? 0x7FFFFFFFFFLL
: BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,

View File

@ -116,7 +116,7 @@ ahd_pci_attach(device_t dev)
error = bus_dma_tag_create(/*parent*/NULL, /*alignment*/1,
/*boundary*/0,
(ahd->flags & AHD_39BIT_ADDRESSING)
? 0x7FFFFFFFFF
? 0x7FFFFFFFFFLL
: BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,