Subject: amr.c 1.18 does not work
To: None <>
From: Martti Kuparinen <>
List: current-users
Date: 11/05/2003 16:24:34

I rebuilt my kernel and amr.c rev 1.18 does not detect my Dell PERC 4/Di any
more (1.17 works just fine). This is the area where it fails:

         if (memreg && pci_mapreg_map(pa, memreg, PCI_MAPREG_TYPE_MEM, 0,
             &amr->amr_iot, &amr->amr_ioh, NULL, &amr->amr_ios) == 0)
         else if (ioreg && pci_mapreg_map(pa, ioreg, PCI_MAPREG_TYPE_IO, 0,
             &amr->amr_iot, &amr->amr_ioh, NULL, &amr->amr_ios) == 0)
         else {
                 aprint_error("can't map control registers\n");

I see this on the console:

amr0 at pci8 dev 8 function 0 pci_mem_find: void region
can't map control registers