From owner-freebsd-new-bus Mon Aug 23 11:31:47 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 8B9BA1585B; Mon, 23 Aug 1999 11:31:34 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (monica.cs.rpi.edu [128.213.7.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id OAA57510; Mon, 23 Aug 1999 14:29:59 -0400 (EDT) Message-Id: <199908231829.OAA57510@cs.rpi.edu> To: freebsd-current@freebsd.org Cc: new-bus@freebsd.org Subject: PCI interrupt routing in -Current/newbus Date: Mon, 23 Aug 1999 14:29:59 -0400 From: "David E. Cross" Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How are PCI interrupts routed in CURRENT/NewBus? For example almost all of my PCI devices are mapped to IRQ11. I understand this is "normal" in the PCI world, but how does the interrupt dispatch routine decide which ints to route where? I recently put a panic() in a intr routine of mine just to see the call stack, but all it showed has Xintr11 (which upon grepping the source found no matches, but a nm /kernel did find it?!?. -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Mon Aug 23 13:36:54 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 2FEF31501B; Mon, 23 Aug 1999 13:36:43 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id VAA59830; Mon, 23 Aug 1999 21:45:24 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Mon, 23 Aug 1999 21:45:24 +0100 (BST) From: Doug Rabson To: "David E. Cross" Cc: freebsd-current@freebsd.org, new-bus@freebsd.org Subject: Re: PCI interrupt routing in -Current/newbus In-Reply-To: <199908231829.OAA57510@cs.rpi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 23 Aug 1999, David E. Cross wrote: > How are PCI interrupts routed in CURRENT/NewBus? For example almost all of > my PCI devices are mapped to IRQ11. I understand this is "normal" in the PCI > world, but how does the interrupt dispatch routine decide which ints to > route where? I recently put a panic() in a intr routine of mine just to > see the call stack, but all it showed has Xintr11 (which upon grepping the > source found no matches, but a nm /kernel did find it?!?. The bios informs the kernel what irq each device is mapped to and we build a chain of interrupt handlers for each one. All the handlers registered for a given irq are called when it fires. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Mon Aug 23 13:47:44 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 1A0EA14DEF; Mon, 23 Aug 1999 13:47:40 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id QAA60761; Mon, 23 Aug 1999 16:47:35 -0400 (EDT) Message-Id: <199908232047.QAA60761@cs.rpi.edu> To: Doug Rabson Cc: "David E. Cross" , freebsd-current@freebsd.org, new-bus@freebsd.org, crossd@cs.rpi.edu Subject: Re: PCI interrupt routing in -Current/newbus In-Reply-To: Message from Doug Rabson of "Mon, 23 Aug 1999 21:45:24 BST." Date: Mon, 23 Aug 1999 16:47:35 -0400 From: "David E. Cross" Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > How are PCI interrupts routed in CURRENT/NewBus? For example almost all of > > my PCI devices are mapped to IRQ11. I understand this is "normal" in the PCI > > world, but how does the interrupt dispatch routine decide which ints to > > route where? I recently put a panic() in a intr routine of mine just to > > see the call stack, but all it showed has Xintr11 (which upon grepping the > > source found no matches, but a nm /kernel did find it?!?. > > The bios informs the kernel what irq each device is mapped to and we build > a chain of interrupt handlers for each one. All the handlers registered > for a given irq are called when it fires. That is what I initially thought, but my PCI handler is only called when that PCI device gets and interrupt. I would expect with IRQ 11 being so frequently used in my system that my handler would be called much more often than that. It is also called with the appropriate softc structure (this being a dual function controller). If it was firing all the handlers I would expect function 0 to trigger first, it does not trigger at all when function 1 signals the int. -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Wed Aug 25 21:42:50 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 4800014E87; Wed, 25 Aug 1999 21:42:44 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA82413; Wed, 25 Aug 1999 22:40:00 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA62021; Wed, 25 Aug 1999 22:41:10 -0600 (MDT) Message-Id: <199908260441.WAA62021@harmony.village.org> To: mobile@freebsd.org, new-bus@freebsd.org Subject: New patches for pccard newbus kludge Date: Wed, 25 Aug 1999 22:41:10 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [[ If anybody gets this via new-bus@freebsd.org, please forward me a copy with supporting headers, I'm subscribed, per majordomo's records, but have't seen any traffic. ]] OK. I've uploaded some patches for the pccard newbus kludge. I've updated them to work after phk's changes (since I got conflicts with the merge). I've also updated what is printed by pccard, et al. The insipient sio support is present, but the sio driver is an ISA driver and uses the non-busindependent isa_{get,set}_ routines... I've only started to extripate them from the non-isa case and it panics for me on pccard attach. But if someone is motivated to help, it should be a start... The sio driver still works for the non-pccard case. I've also added better resource alloc/release. http://www.freebsd.org/~imp/pccard_nbk.diff.19980825.gz Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 5:37:47 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 608) id 9014214FB6; Thu, 26 Aug 1999 05:37:45 -0700 (PDT) From: "Jonathan M. Bresler" To: imp@village.org Cc: mobile@freebsd.org, new-bus@freebsd.org In-reply-to: <199908260441.WAA62021@harmony.village.org> (message from Warner Losh on Wed, 25 Aug 1999 22:41:10 -0600) Subject: Re: New patches for pccard newbus kludge Message-Id: <19990826123745.9014214FB6@hub.freebsd.org> Date: Thu, 26 Aug 1999 05:37:45 -0700 (PDT) Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > [[ > If anybody gets this via new-bus@freebsd.org, please forward me a > copy with supporting headers, I'm subscribed, per majordomo's > records, but have't seen any traffic. > ]] you were subscribed to the alias "new-bus", not to the list "freebsd-nuew-bus". i have moved your subscription to the list. jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 10:44:15 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (Postfix) with ESMTP id 08D1715D7C; Thu, 26 Aug 1999 10:44:05 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.3/8.9.3) with ESMTP id TAA03044; Thu, 26 Aug 1999 19:43:42 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199908261743.TAA03044@gratis.grondar.za> To: Warner Losh Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG Subject: Re: New patches for pccard newbus kludge Date: Thu, 26 Aug 1999 19:43:42 +0200 From: Mark Murray Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > OK. I've uploaded some patches for the pccard newbus kludge. I've > updated them to work after phk's changes (since I got conflicts with > the merge). I've also updated what is printed by pccard, et al. The > insipient sio support is present, but the sio driver is an ISA driver > and uses the non-busindependent isa_{get,set}_ routines... I've only > started to extripate them from the non-isa case and it panics for me > on pccard attach. But if someone is motivated to help, it should be a > start... The sio driver still works for the non-pccard case. I've > also added better resource alloc/release. > > http://www.freebsd.org/~imp/pccard_nbk.diff.19980825.gz OK - it still works for me, and I also have a working Wavelan card. As you say, the SIO driver panics, but I am setting up for a remote gdb to look at why. In the meanwhile - docs and comments suggest that setting the irq to "?" in pccard.conf will allow the driver to pick one for you; it never seems to work, as pccardd whines about "irq -1" not working. Is this something worth tracking down or should I not bother? M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 10:55:19 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1CF2915CED; Thu, 26 Aug 1999 10:55:13 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id LAA85249; Thu, 26 Aug 1999 11:54:29 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA66282; Thu, 26 Aug 1999 11:55:45 -0600 (MDT) Message-Id: <199908261755.LAA66282@harmony.village.org> To: Mark Murray Subject: Re: New patches for pccard newbus kludge Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG In-reply-to: Your message of "Thu, 26 Aug 1999 19:43:42 +0200." <199908261743.TAA03044@gratis.grondar.za> References: <199908261743.TAA03044@gratis.grondar.za> Date: Thu, 26 Aug 1999 11:55:44 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199908261743.TAA03044@gratis.grondar.za> Mark Murray writes: : OK - it still works for me, and I also have a working Wavelan card. Good! I'm happy to see I haven't broken anything. : As you say, the SIO driver panics, but I am setting up for a remote : gdb to look at why. I can tell you why. The probe/attch code for sio assumes that it is on a ISA bus and is getting isa IVARS indirectly through the isa_get/set routines, which is failing because on the pccard bus we have a different set of ivars and DO NOT SUPPORT the isa interface. Hmmm, it might be easier to hack that support together, much as I'd find it bletcherous, than to change three drivers... No, I want sio to change to be more bus independent. : In the meanwhile - docs and comments suggest that setting the irq to : "?" in pccard.conf will allow the driver to pick one for you; it never : seems to work, as pccardd whines about "irq -1" not working. Is this : something worth tracking down or should I not bother? It works. I use it all the time. So yes, it would be a good thing to trakc down. Can you do that, or at least give me an error emssage to go by? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 11:17:24 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (Postfix) with ESMTP id 8A78014D2C; Thu, 26 Aug 1999 11:17:08 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.3/8.9.3) with ESMTP id UAA03315; Thu, 26 Aug 1999 20:14:32 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199908261814.UAA03315@gratis.grondar.za> To: Warner Losh Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG Subject: Re: New patches for pccard newbus kludge Date: Thu, 26 Aug 1999 20:14:31 +0200 From: Mark Murray Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It works. I use it all the time. So yes, it would be a good thing to > trakc down. Can you do that, or at least give me an error emssage to > go by? Ignore my mumblings; it works. (And nobody asked _me_ if they could do that! :-) ) M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 11:51:53 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (Postfix) with ESMTP id 175EE152E0; Thu, 26 Aug 1999 11:51:26 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.3/8.9.3) with ESMTP id UAA03794; Thu, 26 Aug 1999 20:49:45 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199908261849.UAA03794@gratis.grondar.za> To: Warner Losh Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG Subject: Re: New patches for pccard newbus kludge Date: Thu, 26 Aug 1999 20:49:42 +0200 From: Mark Murray Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > http://www.freebsd.org/~imp/pccard_nbk.diff.19980825.gz Now that I've actually updated my system properly, here are my Libretto 110's DMESG lines relevant to pc-card bootup: pcic: pccard bridge i82365 (5 mem & 2 I/O windows) pcic: controller irq 3 pccard: initalizing drivers: ep sio <==== SIO - Yay! changing root device to wd0s2a pccard: card inserted, slot 0 pccard: card inserted, slot 1 link_elf: symbol checkalias undefined pccard-ep0: at port 0x240-0x24f irq 10 slot 0 on pccard0 ep0: utp/bnc[*UTP*] address 00:10:5a:2d:39:c6 pccard-sio2: at port 0x2e8-0x2ef irq 11 slot 1 on pccard0 pccard: sio2 Enable failed 19 NULL com in siounload No panic on SIO, but if I change pccard.conf to sio1 instead of sio2 (the default for my modem) I suspect it will be different. Anyway - nice to see the progress! :-) M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 11:54:52 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id A5D7415DF1; Thu, 26 Aug 1999 11:54:38 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA85554; Thu, 26 Aug 1999 12:54:36 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA66894; Thu, 26 Aug 1999 12:55:52 -0600 (MDT) Message-Id: <199908261855.MAA66894@harmony.village.org> To: Mark Murray Subject: Re: New patches for pccard newbus kludge Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG In-reply-to: Your message of "Thu, 26 Aug 1999 20:49:42 +0200." <199908261849.UAA03794@gratis.grondar.za> References: <199908261849.UAA03794@gratis.grondar.za> Date: Thu, 26 Aug 1999 12:55:52 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199908261849.UAA03794@gratis.grondar.za> Mark Murray writes: : pccard-sio2: at port 0x2e8-0x2ef irq 11 slot 1 on pccard0 : pccard: sio2 Enable failed 19 : NULL com in siounload : : No panic on SIO, but if I change pccard.conf to sio1 instead of sio2 : (the default for my modem) I suspect it will be different. : : Anyway - nice to see the progress! :-) Yes. Since you never even get a chance to attach, you won't see the problem... The one good thing about these patches is that they prevent your pccard from using resources allocated by another device, that's why the enable failed 19 was printed, I think. I forgetgt if ENODEV is the error I return when I can't allocate device resources as requested or not. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 12:16:24 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.133]) by hub.freebsd.org (Postfix) with ESMTP id CC48515C5F; Thu, 26 Aug 1999 12:15:53 -0700 (PDT) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by gratis.grondar.za (8.9.3/8.9.3) with ESMTP id VAA04063; Thu, 26 Aug 1999 21:14:47 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199908261914.VAA04063@gratis.grondar.za> To: Warner Losh Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG Subject: Re: New patches for pccard newbus kludge Date: Thu, 26 Aug 1999 21:14:46 +0200 From: Mark Murray Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > : No panic on SIO, but if I change pccard.conf to sio1 instead of sio2 > : (the default for my modem) I suspect it will be different. > : > : Anyway - nice to see the progress! :-) > > Yes. Since you never even get a chance to attach, you won't see the > problem... The one good thing about these patches is that they > prevent your pccard from using resources allocated by another device, > that's why the enable failed 19 was printed, I think. I forgetgt if > ENODEV is the error I return when I can't allocate device resources as > requested or not. Just to confirm, I se my modem's pccard.conf driver setting to sio1 (from sio2) and I got the required panic. Cool! M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 20: 7: 0 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id A044615D16; Thu, 26 Aug 1999 20:06:53 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA10664; Fri, 27 Aug 1999 12:34:32 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA04977; Fri, 27 Aug 1999 12:34:30 +0930 (CST) Date: Fri, 27 Aug 1999 12:34:30 +0930 From: Greg Lehey To: Warner Losh Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG Subject: Re: New patches for pccard newbus kludge Message-ID: <19990827123430.A4959@freebie.lemis.com> References: <199908260441.WAA62021@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199908260441.WAA62021@harmony.village.org>; from Warner Losh on Wed, Aug 25, 1999 at 10:41:10PM -0600 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 25 August 1999 at 22:41:10 -0600, Warner Losh wrote: > > [[ > If anybody gets this via new-bus@freebsd.org, please forward me a > copy with supporting headers, I'm subscribed, per majordomo's > records, but have't seen any traffic. >>> > > OK. I've uploaded some patches for the pccard newbus kludge. I've > updated them to work after phk's changes (since I got conflicts with > the merge). I've also updated what is printed by pccard, et al. The > insipient sio support is present, but the sio driver is an ISA driver > and uses the non-busindependent isa_{get,set}_ routines... I've only > started to extripate them from the non-isa case and it panics for me > on pccard attach. But if someone is motivated to help, it should be a > start... The sio driver still works for the non-pccard case. I've > also added better resource alloc/release. > > http://www.freebsd.org/~imp/pccard_nbk.diff.19980825.gz OK, I give up. How am I supposed to apply these patches? Any number of '-p's still can't find them, and it looks as if I have to change into each directory to apply them. What am I missing? Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 22: 4:16 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 83F3A1514E; Thu, 26 Aug 1999 22:03:54 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id WAA87629; Thu, 26 Aug 1999 22:57:03 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id WAA70749; Thu, 26 Aug 1999 22:58:24 -0600 (MDT) Message-Id: <199908270458.WAA70749@harmony.village.org> To: Greg Lehey Subject: Re: New patches for pccard newbus kludge Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG In-reply-to: Your message of "Fri, 27 Aug 1999 12:34:30 +0930." <19990827123430.A4959@freebie.lemis.com> References: <19990827123430.A4959@freebie.lemis.com> <199908260441.WAA62021@harmony.village.org> Date: Thu, 26 Aug 1999 22:58:24 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19990827123430.A4959@freebie.lemis.com> Greg Lehey writes: : OK, I give up. How am I supposed to apply these patches? Any number : of '-p's still can't find them, and it looks as if I have to change : into each directory to apply them. : : What am I missing? Should be just cd src/sys patch < my-patch Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 22: 9:37 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 375AE14EE9; Thu, 26 Aug 1999 22:09:29 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA11120; Fri, 27 Aug 1999 14:37:11 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA05385; Fri, 27 Aug 1999 14:37:09 +0930 (CST) Date: Fri, 27 Aug 1999 14:37:09 +0930 From: Greg Lehey To: Warner Losh Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG Subject: Re: New patches for pccard newbus kludge Message-ID: <19990827143709.R483@freebie.lemis.com> References: <19990827123430.A4959@freebie.lemis.com> <199908260441.WAA62021@harmony.village.org> <19990827123430.A4959@freebie.lemis.com> <199908270458.WAA70749@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199908270458.WAA70749@harmony.village.org>; from Warner Losh on Thu, Aug 26, 1999 at 10:58:24PM -0600 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 26 August 1999 at 22:58:24 -0600, Warner Losh wrote: > In message <19990827123430.A4959@freebie.lemis.com> Greg Lehey writes: > : OK, I give up. How am I supposed to apply these patches? Any number > : of '-p's still can't find them, and it looks as if I have to change > : into each directory to apply them. > : > : What am I missing? > > Should be just > > cd src/sys > patch < my-patch Strange. That works fine in /usr/src/sys, but I couldn't find any combination which worked in /usr/src. I'm wondering if there's something wrong with patch. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message From owner-freebsd-new-bus Thu Aug 26 22:10:56 1999 Delivered-To: freebsd-new-bus@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 0D3FF1520F; Thu, 26 Aug 1999 22:10:41 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA87713; Thu, 26 Aug 1999 23:10:36 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA70949; Thu, 26 Aug 1999 23:11:57 -0600 (MDT) Message-Id: <199908270511.XAA70949@harmony.village.org> To: Greg Lehey Subject: Re: New patches for pccard newbus kludge Cc: mobile@FreeBSD.ORG, new-bus@FreeBSD.ORG In-reply-to: Your message of "Fri, 27 Aug 1999 14:37:09 +0930." <19990827143709.R483@freebie.lemis.com> References: <19990827143709.R483@freebie.lemis.com> <19990827123430.A4959@freebie.lemis.com> <199908260441.WAA62021@harmony.village.org> <19990827123430.A4959@freebie.lemis.com> <199908270458.WAA70749@harmony.village.org> Date: Thu, 26 Aug 1999 23:11:57 -0600 From: Warner Losh Sender: owner-freebsd-new-bus@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19990827143709.R483@freebie.lemis.com> Greg Lehey writes: : Strange. That works fine in /usr/src/sys, but I couldn't find any : combination which worked in /usr/src. I'm wondering if there's : something wrong with patch. Likely not. I just generated it from src/sys, not in src... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message