Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-07-15 Thread Warner Losh
On Jul 15, 2011, at 9:03 AM, Robert Millan wrote: > 2011/6/26 Warner Losh : >> I like the idea of having a standardized table. I've done this with PC Card >> and it really works well. It isn't the design pattern that all drivers use, >> and it may be hard to get everyone lined up on this. I

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-07-15 Thread Robert Millan
2011/6/26 Warner Losh : > I like the idea of having a standardized table.  I've done this with PC Card > and it really works well.  It isn't the design pattern that all drivers use, > and it may be hard to get everyone lined up on this.  I tried PCI back after > I did PC Card and met resistance.

Re: [RFT] Automatic load of USB kernel modules

2011-06-29 Thread Robert Millan
2011/6/29 Hans Petter Selasky : >> What about urio? > > Hi, > > urio is not used for booting the kernel, so it is not important that it is in > the kernel. Ah, ok. I thought /dev/urio0 was a block device. -- Robert Millan ___ freebsd-current@freebsd.o

Re: [RFT] Automatic load of USB kernel modules

2011-06-29 Thread Robert Millan
2011/6/24 Hans Petter Selasky : > I would like to request testing of the attached > patch before I commit it. The patch is about only having ukbd, ums and umass > per default in the kernel GENERIC config file(s). What about urio? -- Robert Millan ___ f

Re: [RFT] Automatic load of USB kernel modules

2011-06-29 Thread Hans Petter Selasky
On Wednesday 29 June 2011 12:10:36 Robert Millan wrote: > 2011/6/24 Hans Petter Selasky : > > I would like to request testing of the attached > > patch before I commit it. The patch is about only having ukbd, ums and > > umass per default in the kernel GENERIC config file(s). > > What about urio?

Re: [RFT] Automatic load of USB kernel modules

2011-06-29 Thread Hans Petter Selasky
On Wednesday 29 June 2011 12:10:36 Robert Millan wrote: > 2011/6/24 Hans Petter Selasky : > > I would like to request testing of the attached > > patch before I commit it. The patch is about only having ukbd, ums and > > umass per default in the kernel GENERIC config file(s). > > What about urio?

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-26 Thread Warner Losh
On Jun 26, 2011, at 4:33 AM, Robert Millan wrote: > 2011/6/26 Hans Petter Selasky : >> Hi, >> >> I see that a lot of PCI device drivers use code to check their ID's. >> >> [...] > > I seem to recall devd doesn't process PCI because it is event-driven and > there are no "events" associated with

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-26 Thread Robert Millan
2011/6/26 Hans Petter Selasky : > Hi, > > I see that a lot of PCI device drivers use code to check their ID's. > > [...] I seem to recall devd doesn't process PCI because it is event-driven and there are no "events" associated with PCI cards. Perhaps it could be modified to scan for PCI cards via

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-25 Thread Warner Losh
On Jun 25, 2011, at 11:38 PM, Hans Petter Selasky wrote: > On Saturday 25 June 2011 19:07:01 Hans Petter Selasky wrote: >> On Saturday 25 June 2011 18:45:14 Warner Losh wrote: >>> On Jun 25, 2011, at 9:42 AM, Hans Petter Selasky wrote: On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote

Re: Automatic load of PCI kernel modules [WAS: [RFT] Automatic load of USB kernel modules]

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 19:07:01 Hans Petter Selasky wrote: > On Saturday 25 June 2011 18:45:14 Warner Losh wrote: > > On Jun 25, 2011, at 9:42 AM, Hans Petter Selasky wrote: > > > On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: > > >> Jeremy Messenger > > > > > > Done. > > > > > > htt

Re: [RFT] Automatic load of USB kernel modules

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 18:45:14 Warner Losh wrote: > On Jun 25, 2011, at 9:42 AM, Hans Petter Selasky wrote: > > On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: > >> Jeremy Messenger > > > > Done. > > > > http://svn.freebsd.org/changeset/base/223536 > > Please move it back. It doesn

Re: [RFT] Automatic load of USB kernel modules

2011-06-25 Thread Warner Losh
On Jun 25, 2011, at 9:42 AM, Hans Petter Selasky wrote: > On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: >> Jeremy Messenger > > Done. > > http://svn.freebsd.org/changeset/base/223536 Please move it back. It doesn't belong in /etc/defaults. It belongs in /etc/devd if we're going

Re: [RFT] Automatic load of USB kernel modules

2011-06-25 Thread Warner Losh
On Jun 24, 2011, at 5:05 PM, Jeremy Messenger wrote: > On Fri, Jun 24, 2011 at 5:23 PM, Hans Petter Selasky wrote: >> On Saturday 25 June 2011 00:15:17 Warner Losh wrote: >>> Hey Hans, >>> >>> Given that all this stuff is really new and shiny, and we're really close >>> to the feature freeze,

Re: [RFT] Automatic load of USB kernel modules

2011-06-25 Thread Hans Petter Selasky
On Saturday 25 June 2011 01:05:26 Jeremy Messenger wrote: > Jeremy Messenger Done. http://svn.freebsd.org/changeset/base/223536 --HPS ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe,

Re: [RFT] Automatic load of USB kernel modules

2011-06-24 Thread Jeremy Messenger
On Fri, Jun 24, 2011 at 5:23 PM, Hans Petter Selasky wrote: > On Saturday 25 June 2011 00:15:17 Warner Losh wrote: >> Hey Hans, >> >> Given that all this stuff is really new and shiny, and we're really close >> to the feature freeze,  I'm not sure enabling it by default is the prudent >> action. >

Re: [RFT] Automatic load of USB kernel modules

2011-06-24 Thread Hans Petter Selasky
On Saturday 25 June 2011 00:15:17 Warner Losh wrote: > Hey Hans, > > Given that all this stuff is really new and shiny, and we're really close > to the feature freeze, I'm not sure enabling it by default is the prudent > action. > Yes, you might be right. I'm not saying it should be enabled by

Re: [RFT] Automatic load of USB kernel modules

2011-06-24 Thread Warner Losh
Hey Hans, Given that all this stuff is really new and shiny, and we're really close to the feature freeze, I'm not sure enabling it by default is the prudent action. Warner On Jun 24, 2011, at 3:42 PM, Hans Petter Selasky wrote: > Hi, > > I've been working today on getting auto load of USB k

[RFT] Automatic load of USB kernel modules

2011-06-24 Thread Hans Petter Selasky
Hi, I've been working today on getting auto load of USB kernel modules working properly. I've identified and fixed several issues since the initial patch by Robert Millan was posted. I would like to request testing of the attached patch before I commit it. The patch is about only having ukbd, u