module.c
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:22k
- /* $Id: module.c,v 1.1.4.1 2001/11/20 14:19:34 kai Exp $
- *
- * ISDN lowlevel-module for the IBM ISDN-S0 Active 2000.
- *
- * Author Fritz Elfert
- * Copyright by Fritz Elfert <fritz@isdn4linux.de>
- *
- * This software may be used and distributed according to the terms
- * of the GNU General Public License, incorporated herein by reference.
- *
- * Thanks to Friedemann Baitinger and IBM Germany
- *
- */
- #include "act2000.h"
- #include "act2000_isa.h"
- #include "capi.h"
- #include <linux/module.h>
- #include <linux/init.h>
- static unsigned short act2000_isa_ports[] =
- {
- 0x0200, 0x0240, 0x0280, 0x02c0, 0x0300, 0x0340, 0x0380,
- 0xcfe0, 0xcfa0, 0xcf60, 0xcf20, 0xcee0, 0xcea0, 0xce60,
- };
- #define ISA_NRPORTS (sizeof(act2000_isa_ports)/sizeof(unsigned short))
- static act2000_card *cards = (act2000_card *) NULL;
- /* Parameters to be set by insmod */
- static int act_bus = 0;
- static int act_port = -1; /* -1 = Autoprobe */
- static int act_irq = -1;
- static char *act_id = "