diff options
author | peter <peter@FreeBSD.org> | 1999-01-19 00:21:53 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-01-19 00:21:53 +0000 |
commit | 5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6 (patch) | |
tree | 7c6e7b9d00400729ce60a453f9944bea55ce186e /sys/isa/sio.c | |
parent | bd6a0259a65d507cf609e02efffd49e60d03e20b (diff) | |
download | FreeBSD-src-5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6.zip FreeBSD-src-5cf49b590ffd3d83ce7760bbd9fe8cd5694f13b6.tar.gz |
Update the pccard hooks to use a module style declaration instead.
Diffstat (limited to 'sys/isa/sio.c')
-rw-r--r-- | sys/isa/sio.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c index db05e18..6a2084e 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sio.c,v 1.218 1998/11/15 18:25:17 dfr Exp $ + * $Id: sio.c,v 1.219 1998/12/13 23:12:54 steve Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.215 */ @@ -92,6 +92,7 @@ #include "card.h" #if NCARD > 0 +#include <sys/module.h> #include <pccard/cardinfo.h> #include <pccard/slot.h> #endif @@ -494,17 +495,7 @@ static int sioinit __P((struct pccard_devinfo *)); static void siounload __P((struct pccard_devinfo *)); static int card_intr __P((struct pccard_devinfo *)); -static struct pccard_device sio_info = { - driver_name, - sioinit, - siounload, - card_intr, - 0, /* Attributes - presently unused */ - &tty_imask /* Interrupt mask for device */ - /* XXX - Should this also include net_imask? */ -}; - -DATA_SET(pccarddrv_set, sio_info); +PCCARD_MODULE(sio, sioinit, siounload, card_intr, 0, tty_imask); /* * Initialize the device - called from Slot manager. |