]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix pcic_detach_socket to get right pcic_handle.
authorimp <imp@FreeBSD.org>
Tue, 4 Apr 2000 04:12:43 +0000 (04:12 +0000)
committerimp <imp@FreeBSD.org>
Tue, 4 Apr 2000 04:12:43 +0000 (04:12 +0000)
commit7a4fd4ca06b52312efb0de024c9eb1af461c1b29
tree4412fb5f4a7b9274f91fb340a325b60a5818f97c
parent36139fd6806021354a06d19f463b05f85f3ccfc5
Fix pcic_detach_socket to get right pcic_handle.
Pass sc->dev rather than a bogusly cast pccard_softc *sc.

This allows us to insert and remove cards w/o panicing the kernel.
However, the cis isn't mapped in, so the pccard_scan_cis function
fails.
sys/dev/pccard/pccard_cis.c
sys/dev/pcic/i82365.c