diff options
| author | Warner Losh <imp@FreeBSD.org> | 2000-10-07 05:42:43 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2000-10-07 05:42:43 +0000 |
| commit | 448d152ae436efdcf2e8ae3b65accd73dc60161f (patch) | |
| tree | 199c12702295af898c27f686eee879af3186c790 /sys/dev/pcic | |
| parent | 804c83d4bd3f618462c34d3ee767f02e0607384c (diff) | |
Notes
Diffstat (limited to 'sys/dev/pcic')
| -rw-r--r-- | sys/dev/pcic/i82365.c | 5 | ||||
| -rw-r--r-- | sys/dev/pcic/i82365var.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pcic/i82365.c b/sys/dev/pcic/i82365.c index dd36c3ac176a..1abdd7b54d51 100644 --- a/sys/dev/pcic/i82365.c +++ b/sys/dev/pcic/i82365.c @@ -45,10 +45,9 @@ #include <machine/clock.h> -#include <sys/proc.h> #include <sys/wait.h> +#include <sys/unistd.h> #include <sys/kthread.h> -#include <vm/vm.h> /* We shouldn't need to include the following, but sadly we do for now */ /* XXX */ @@ -486,7 +485,7 @@ pcic_create_event_thread(void *arg) } if (kthread_create(pcic_event_thread, h, &h->event_thread, - "%s,%s", device_get_name(h->sc->dev), cs)) { + RFTHREAD, "%s,%s", device_get_name(h->sc->dev), cs)) { device_printf(h->sc->dev, "cannot create event thread for sock 0x%02x\n", h->sock); panic("pcic_create_event_thread"); diff --git a/sys/dev/pcic/i82365var.h b/sys/dev/pcic/i82365var.h index af1407541165..249398e41845 100644 --- a/sys/dev/pcic/i82365var.h +++ b/sys/dev/pcic/i82365var.h @@ -45,6 +45,8 @@ struct pcic_event { #define PCIC_EVENT_INSERTION 0 #define PCIC_EVENT_REMOVAL 1 +struct proc; + struct pcic_handle { struct pcic_softc *sc; device_t dev; |
