From 4ebffe3ab8eef8fd645a97e69b2bdb9632bed579 Mon Sep 17 00:00:00 2001 From: harti Date: Fri, 13 Jun 2003 12:08:09 +0000 Subject: 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. --- sys/dev/en/if_en_pci.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/en/if_en_pci.c') 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 #include +#include #include #include +#include #include #include MODULE_DEPEND(en, pci, 1, 1, 1); MODULE_DEPEND(en, atm, 1, 1, 1); +MODULE_DEPEND(en, utopia, 1, 1, 1); /* * local structures -- cgit v1.1