diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-01-28 09:31:21 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-01-28 11:26:33 +0000 |
| commit | a9f7074e858fd7c8e07c164fc365afc0d0077735 (patch) | |
| tree | a062f7a2b8771851fbb8f6f1b3b031957105991d | |
| parent | 240c614d48cb0484bfe7876decdf6bbdcc99ba73 (diff) | |
ahc(4): Fix a warning on i386 compilation
Fixes: cd036e891a35 ("ahc_pci.c: If bus_dma...")
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | sys/dev/aic7xxx/ahc_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c index 8109a6714814..7f8fbe140237 100644 --- a/sys/dev/aic7xxx/ahc_pci.c +++ b/sys/dev/aic7xxx/ahc_pci.c @@ -105,7 +105,7 @@ ahc_pci_attach(device_t dev) error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev), /*alignment*/1, /*boundary*/0, (ahc->flags & AHC_39BIT_ADDRESSING) - ? 0x7FFFFFFFFFLL + ? (bus_addr_t)0x7FFFFFFFFFLL : BUS_SPACE_MAXADDR_32BIT, /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL, |
