Date: Tue, 20 Mar 2001 20:28:55 -0700 From: Warner Losh <imp@village.org> To: "Georg-W. Koltermann" <gwk@sgi.com> Cc: mobile@FreeBSD.ORG Subject: Re: Cardbus status Message-ID: <200103210328.f2L3StZ48205@billy-club.village.org> In-Reply-To: Your message of "Tue, 20 Mar 2001 12:11:11 %2B0100." <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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103210328.f2L3StZ48205>