From owner-freebsd-mobile Tue Mar 20 19:30:33 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 6D7A237B733 for ; Tue, 20 Mar 2001 19:30:19 -0800 (PST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.2/8.11.0) with ESMTP id f2L3UHX11717; Tue, 20 Mar 2001 20:30:18 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.2/8.8.3) with ESMTP id f2L3StZ48205; Tue, 20 Mar 2001 20:28:55 -0700 (MST) Message-Id: <200103210328.f2L3StZ48205@billy-club.village.org> To: "Georg-W. Koltermann" Subject: Re: Cardbus status Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Tue, 20 Mar 2001 12:11:11 +0100." <20010320121110.B912@hunter.munich.sgi.com> References: <20010320121110.B912@hunter.munich.sgi.com> <20010319154450.A10084@hunter.munich.sgi.com> <200010220509.XAA44604@harmony.village.org> <20010319154450.A10084@hunter.munich.sgi.com> <200103200218.f2K2I4Z43387@billy-club.village.org> Date: Tue, 20 Mar 2001 20:28:55 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20010320121110.B912@hunter.munich.sgi.com> "Georg-W. Koltermann" writes: : OK, so maybe you could hint me at where to find those two lines.. The patch would look something like the following with XXXX replaced by the ID of the card. Note, it also has an unrelated patch and doesn't do detach, but it would get you going. Warner Index: sio.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/isa/sio.c,v retrieving revision 1.328 diff -u -r1.328 sio.c --- sio.c 2001/03/07 14:27:56 1.328 +++ sio.c 2001/03/21 03:20:55 @@ -555,6 +555,7 @@ bus_release_resource(dev, SYS_RES_IOPORT, 0, com->ioportres); if (com->tp && (com->tp->t_state & TS_ISOPEN)) { device_printf(dev, "still open, forcing close\n"); + (*linesw[com->tp->t_line].l_close)(com->tp, 0); com->tp->t_gen++; ttyclose(com->tp); ttwakeup(com->tp); @@ -577,7 +578,8 @@ static struct pci_ids pci_ids[] = { { 0x100812b9, "3COM PCI FaxModem", 0x10 }, - { 0x048011c1, "ActionTec 56k FAX PCI Modem", 0x14 }, + { 0x048011c1, "Lucent kermit based PCI Modem", 0x14 }, + { 0xXXXXXXXX, "Xircom Cardbus modem", 0x10 }, { 0x00000000, NULL, 0 } }; @@ -3352,4 +3354,5 @@ #endif #if NPCI > 0 DRIVER_MODULE(sio, pci, sio_pci_driver, sio_devclass, 0, 0); +DRIVER_MODULE(sio, cardbus, sio_pci_driver, sio_devclass, 0, 0); #endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message