1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176588

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);