0x7FFFFFFFFF is >32 bits and needs an explicit LL.
This commit is contained in:
parent
365ce457b0
commit
1ec0dcda30
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user