Re: cbb cardbus activation failed

2003-11-17 Thread Philippe Charnier
Salut, Doug Rabson <[EMAIL PROTECTED]> wrote: >On Sat, 2003-11-15 at 22:32, Philippe Charnier wrote: >> Hello, >> >> I have a Compaq armada 7800 with a noname pccard ethernet adapter >> which used to be detected as: >> >> rl0: port 0x1100-0x11ff

cbb cardbus activation failed

2003-11-15 Thread Philippe Charnier
, rl_driver, rl_devclass, 0, 0); -DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0); DRIVER_MODULE(miibus, rl, miibus_driver, miibus_devclass, 0, 0); Adding the removed line makes the card work again. ---- Philippe

incorrect output in pstat -s

1999-12-04 Thread Philippe Charnier
ksw_total) @@ -1029,7 +1029,7 @@ ); } else if (n > 1) { (void)printf( - "%-11s %*d %8d %8d %5.0f%%\n", + "%-12s %*d %8d %8d %5.0f%%\n", "Total", hlen,

Re: Error handling for src/usr.sbin/pccard/pccardc/*

1999-02-14 Thread Philippe Charnier
[0]); Errx() -> usage() + if ((buf = malloc(length)) == 0) + err(1, "%s", name); Name give no information here. And because our malloc doesn't set errno, err() which makes use of errno now prints garbage. I suggest errx(1, "malloc failed"). -