diff options
author | harti <harti@FreeBSD.org> | 2003-06-13 12:08:09 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-06-13 12:08:09 +0000 |
commit | 4ebffe3ab8eef8fd645a97e69b2bdb9632bed579 (patch) | |
tree | ff743821ab524457790e820a4efa095b00ceb814 /sys/dev/en/if_en_pci.c | |
parent | 38bbc58a38c14d497e813987fe51ef42536d74f7 (diff) | |
download | FreeBSD-src-4ebffe3ab8eef8fd645a97e69b2bdb9632bed579.zip FreeBSD-src-4ebffe3ab8eef8fd645a97e69b2bdb9632bed579.tar.gz |
Make the midway driver use the new ATM phy driver. This allows one to
toggle several media options (sonet/sdh, for example) with ifconfig and
to see the carrier state in ifconfig's output. It gives also read/write
access (given the right privilegs) to the S/Uni registers to user space
programs.
Diffstat (limited to 'sys/dev/en/if_en_pci.c')
-rw-r--r-- | sys/dev/en/if_en_pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/en/if_en_pci.c b/sys/dev/en/if_en_pci.c index fec4248..b44bcdb 100644 --- a/sys/dev/en/if_en_pci.c +++ b/sys/dev/en/if_en_pci.c @@ -60,15 +60,18 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_atm.h> +#include <net/if_media.h> #include <pci/pcivar.h> #include <pci/pcireg.h> +#include <dev/utopia/utopia.h> #include <dev/en/midwayreg.h> #include <dev/en/midwayvar.h> MODULE_DEPEND(en, pci, 1, 1, 1); MODULE_DEPEND(en, atm, 1, 1, 1); +MODULE_DEPEND(en, utopia, 1, 1, 1); /* * local structures |