summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-08-15 00:54:42 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-08-15 00:54:42 +0000
commit470404b3a4cc0cb6db75d87b050df687903ac7f1 (patch)
treeddd995616e2379f5b473738fa11943a28769ddfa
parent3c30f92514e0218ae90eed4f210ff3188b341fe6 (diff)
we're a nic, so we need the arpcom and ifmedia structs in our softc
-rw-r--r--sys/dev/pci/if_nxe.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/if_nxe.c b/sys/dev/pci/if_nxe.c
index 64ca53b969a..09cb9d42397 100644
--- a/sys/dev/pci/if_nxe.c
+++ b/sys/dev/pci/if_nxe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nxe.c,v 1.16 2007/08/15 00:52:27 dlg Exp $ */
+/* $OpenBSD: if_nxe.c,v 1.17 2007/08/15 00:54:41 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -399,6 +399,9 @@ struct nxe_softc {
int sc_window;
const struct nxe_board *sc_board;
+
+ struct arpcom sc_ac;
+ struct ifmedia sc_media;
};
int nxe_match(struct device *, void *, void *);