On the ixp425, when we fail to initialize the memory rman instance, the

panic message should read "memory", not "IRQ".

MFC after:	3 days
This commit is contained in:
Robert Watson 2008-02-26 11:44:41 +00:00
parent e6591b84ff
commit 18d59070d6

View File

@ -234,7 +234,7 @@ ixp425_attach(device_t dev)
sc->sc_mem_rman.rm_descr = "IXP425 Memory";
if (rman_init(&sc->sc_mem_rman) != 0 ||
rman_manage_region(&sc->sc_mem_rman, 0, ~0) != 0)
panic("ixp425_attach: failed to set up IRQ rman");
panic("ixp425_attach: failed to set up memory rman");
BUS_ADD_CHILD(dev, 0, "pcib", 0);
BUS_ADD_CHILD(dev, 0, "ixpclk", 0);