diff options
author | jdp <jdp@FreeBSD.org> | 1997-10-29 00:51:50 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-10-29 00:51:50 +0000 |
commit | addd7d2b5d469a8b3c11cfc9d397c0faad4ade9a (patch) | |
tree | 5fc25b1b254e1176f94db4f75115128617f73942 /sys/i386/isa/if_ed.c | |
parent | 827244dc7af41cc23a70ef09c97f87098cca61c1 (diff) | |
download | FreeBSD-src-addd7d2b5d469a8b3c11cfc9d397c0faad4ade9a.zip FreeBSD-src-addd7d2b5d469a8b3c11cfc9d397c0faad4ade9a.tar.gz |
The previous change added a use of the DATA_SET macro, but forgot
to define it by including <sys/kernel.h>. That broke PC-CARD
support for this driver, producing the dreaded "device allocation
failed" message. Surprisingly, the missing include caused only
two compiler warnings. The compilation still "succeeded" anyway.
Diffstat (limited to 'sys/i386/isa/if_ed.c')
-rw-r--r-- | sys/i386/isa/if_ed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/if_ed.c b/sys/i386/isa/if_ed.c index 72871d8..f54ee7e 100644 --- a/sys/i386/isa/if_ed.c +++ b/sys/i386/isa/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.124 1997/10/26 04:53:51 nate Exp $ + * $Id: if_ed.c,v 1.125 1997/10/26 21:08:40 nate Exp $ */ /* @@ -183,6 +183,7 @@ static void ed_setrcr(struct ed_softc *); static u_long ds_crc(u_char *ep); #if NCARD > 0 +#include <sys/kernel.h> #include <sys/select.h> #include <pccard/card.h> #include <pccard/driver.h> |