|
|
| version 1.7, 2004/05/13 23:49:18 | version 1.8, 2004/05/19 22:52:45 |
|---|---|
| Line 253 xrpu_attach(device_t self) | Line 253 xrpu_attach(device_t self) |
| printf("Mapped physbase %#lx to virbase %#lx\n", | printf("Mapped physbase %#lx to virbase %#lx\n", |
| (u_long)sc->physbase, (u_long)sc->virbase); | (u_long)sc->physbase, (u_long)sc->virbase); |
| make_dev(&xrpu_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, "xrpu%d", unit); | cdevsw_add(&xrpu_cdevsw, -1, unit); |
| make_dev(&xrpu_cdevsw, unit, UID_ROOT, GID_WHEEL, 0600, "xrpu%d", unit); | |
| return 0; | return 0; |
| } | } |