Commit Graph

11 Commits

Author SHA1 Message Date
iedowse
bd32849bf9 Use a module name of 'if_lnc' in both the PCI and ISA sections of
the driver. Doing this breaks the ability to unload the unneeded
parts of the driver (e.g unload the PCI section when using an ISA
card), but currently ifconfig(8) expects an interface `XXX' to have
a driver name of `if_XXX'.

PR:		kern/25582
Submitted by:	Alexander N. Kabaev <kabaev@mail.ru>, imp (apparently
		Warner suggested a similar fix some time ago).
Reviewed by:	paul (who would prefer to see ifconfig changed instead)
2001-03-18 17:44:23 +00:00
paul
9c7d86776c The pci and isa drivers were meant to share the same devclass but
the devclass definitions were all wrong so they had their own private
ones with the same name.

Fix it so they all use the same global devclass.
2000-12-29 11:59:41 +00:00
paul
0b0a367ff1 Switch off some debugging code. 2000-12-16 03:29:27 +00:00
paul
5efa885931 Fixup some problems with the merged code of the previous commit. 2000-12-16 01:41:14 +00:00
paul
0ffba7b3e4 Newbusify.
Temporarily disable PC98 until I bring it up to date.
2000-12-16 01:33:28 +00:00
archie
75e32a670a Make all Ethernet drivers attach using ether_ifattach() and detach using
ether_ifdetach().

The former consolidates the operations of if_attach(), ng_ether_attach(),
and bpfattach(). The latter consolidates the corresponding detach operations.

Reviewed by:	julian, freebsd-net
2000-07-13 22:54:34 +00:00
gj
46b83ce4fd MF4: add support for the Am79C973. 2000-06-18 08:12:54 +00:00
brian
07c2b69b6d Dynamically allocate softc structures
Reviewed by: Mark Knight <mkn@uk.FreeBSD.org>
2000-06-09 17:03:29 +00:00
nyan
2b80ed9c28 Fixed to support PC-98. 2000-05-19 16:31:45 +00:00
paul
f548509f2d Replace all references to lnc_softc with a typedef. 2000-05-16 02:30:53 +00:00
paul
17b1de0ece Re-organise lnc driver in preparation for newbusifying it. 2000-05-16 02:08:04 +00:00