* Re: 2.4.0 Patch for 3c575
@ 2001-01-11 17:25 Miles Lane
2001-01-11 17:29 ` David Hinds
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Miles Lane @ 2001-01-11 17:25 UTC (permalink / raw)
To: linux-hotplug
David Hinds wrote:
> On Wed, Jan 10, 2001 at 11:21:58PM -0800, Miles Lane wrote:
>
>> There are at least two things that need to happen.
>
> ....
>
> I think you're not clear on what PCMCIA support is in the 2.4 kernel
> tree. The pcnet_cs driver has been in the kernel tree as long as
> anything else. Most PCMCIA drivers are already in the kernel tree;
> the ones that are not are: the memory card drivers (rarely used now),
> parport_cs, and wvlan_cs. The hot plug PCI drivers (3c59x, tulip,
> epic100) subsume the 3c575_cb, tulip_cb, and epic_cb drivers
> completely.
Well, this is great news!
I am going to go through pcmcia-cs and work with you to
get a comprehensive mapping of device support to the
kernel drivers. Then, we'll identify all the yet-to-be-ported
drivers and put together some sort of porting strategy.
>> For the case where drivers don't exist yet,
>> the /etc/pcmcia/config* files could be migrated
>> into the kernel tree, so that when a kernel is
>> installed that is configured to use the kernel
>> drivers instead of pcmcia-cs drivers, then
>> install the modified /etc/pcmcia/config* files.
>
>
> I don't like this idea one bit; multiple sets of config files for
> different kernel versions is not workable. People want to be able to
> boot different kernel releases. I want a way for cardmgr to figure
> out on the fly, based on some feedback from the PCMCIA modules, what
> the right thing to do is.
Alright. Can you please work with the folks on
linux-hotplug-devel@lists.sourceforge.net to come up with
an acceptable method? Let's open a discussion there on
what some possible "generic" methods might be. It would
make a lot of sense to design something that would have
value across all sorts of drivers, beyond the scope of
PCMCIA/Cardbus. Ideally, this would allow straightforward
solutions to the kind of problem we have now for all driver
modules.
>> This seems kind of heinous. But, these
>> configuration files sometimes get tweaked for
>> a particular machine's hardware configuration,
>> so it's important not to lose them.
>
>
> /etc/pcmcia/config should never be tweaked for anything. That's what
> the config.opts file is for.
I wasn't aware that specific device entries could be modified
in the opts files. I thought those files were only needed for
specifying memory ranges, ports, irqs and the like. I didn't
delve into it very deeply, though. I was just trying to get
my card to work as quickly as possible.
Thanks for the enlightening info.
>> I should note that I once before I modified my /etc/pcmcia/config
>> file so that cardmgr loaded 3c59x for my 3c575 card. I got some
>> errors during the card detection phase and I never got "ifup eth0"
>> to run automatically when I inserted the card.
>
>
> Getting "ifup eth0" to run when you insert a CardBus card in the new
> 2.4 scheme is going to be an issue with the /sbin/hotplug script, and
> out of the PCMCIA subsystem's control.
Then, let's discuss it on linux-hotplug-devel.
Thanks,
Miles
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: 2.4.0 Patch for 3c575
2001-01-11 17:25 2.4.0 Patch for 3c575 Miles Lane
@ 2001-01-11 17:29 ` David Hinds
2001-01-11 18:15 ` David Brownell
2001-01-11 19:43 ` Miles Lane
2 siblings, 0 replies; 4+ messages in thread
From: David Hinds @ 2001-01-11 17:29 UTC (permalink / raw)
To: linux-hotplug
On Thu, Jan 11, 2001 at 09:25:30AM -0800, Miles Lane wrote:
>
> I am going to go through pcmcia-cs and work with you to
> get a comprehensive mapping of device support to the
> kernel drivers. Then, we'll identify all the yet-to-be-ported
> drivers and put together some sort of porting strategy.
See the README-2.4 file (plus the SUPPORTED.CARDS file) in the current
PCMCIA package for this mapping.
> Alright. Can you please work with the folks on
> linux-hotplug-devel@lists.sourceforge.net to come up with
> an acceptable method? Let's open a discussion there on
> what some possible "generic" methods might be. It would
> make a lot of sense to design something that would have
> value across all sorts of drivers, beyond the scope of
> PCMCIA/Cardbus. Ideally, this would allow straightforward
> solutions to the kind of problem we have now for all driver
> modules.
I was thinking of just having a new keyword in /etc/pcmcia/config to
say that certain drivers are "hotplug", which would mean to ignore
those config entries under a 2.4 kernel with hotplug support.
-- Dave
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.0 Patch for 3c575
2001-01-11 17:25 2.4.0 Patch for 3c575 Miles Lane
2001-01-11 17:29 ` David Hinds
@ 2001-01-11 18:15 ` David Brownell
2001-01-11 19:43 ` Miles Lane
2 siblings, 0 replies; 4+ messages in thread
From: David Brownell @ 2001-01-11 18:15 UTC (permalink / raw)
To: linux-hotplug
> I was thinking of just having a new keyword in /etc/pcmcia/config to
> say that certain drivers are "hotplug", which would mean to ignore
> those config entries under a 2.4 kernel with hotplug support.
That's probably a workable solution. Though I suspect the pcmcia_cs
package will want a way to detect that hotplug PCI is running, so it
will do the right thing with such cardbus drivers in atypical setups.
Have you looked at the (PCI-less) /etc/hotplug stuff I sent around?
We could arrange that the next iteration of that use some sort of
config file in /etc/hotplug to expose such information; I can toss
in the PCI/Cardbus support, but it'll be short of testing. The same
stuff could let the /sbin/hotplug command itself show status info.
> -- Dave
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.0 Patch for 3c575
2001-01-11 17:25 2.4.0 Patch for 3c575 Miles Lane
2001-01-11 17:29 ` David Hinds
2001-01-11 18:15 ` David Brownell
@ 2001-01-11 19:43 ` Miles Lane
2 siblings, 0 replies; 4+ messages in thread
From: Miles Lane @ 2001-01-11 19:43 UTC (permalink / raw)
To: linux-hotplug
David Brownell wrote:
>> I was thinking of just having a new keyword in /etc/pcmcia/config to
>> say that certain drivers are "hotplug", which would mean to ignore
>> those config entries under a 2.4 kernel with hotplug support.
>
>
> That's probably a workable solution. Though I suspect the pcmcia_cs
> package will want a way to detect that hotplug PCI is running, so it
> will do the right thing with such cardbus drivers in atypical setups.
>
> Have you looked at the (PCI-less) /etc/hotplug stuff I sent around?
> We could arrange that the next iteration of that use some sort of
> config file in /etc/hotplug to expose such information; I can toss
> in the PCI/Cardbus support, but it'll be short of testing. The same
> stuff could let the /sbin/hotplug command itself show status info.
Hi Dave,
I'd like to get the Cardbus hotplug stuff working for configuring
my BusPort Mobile, again. As soon as you have thise PCI/Cardbus
support part patched up again, please send it to me and I'll test it.
I fear that there is more brokenness in the call_usermodehelper
stuff, but I hope I'm wrong.
I really am looking forward to seeing what you and David Hinds
come up with. I'll test it like crazy as soon as it's available.
Miles
_______________________________________________
Linux-hotplug-devel mailing list
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-11 19:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-11 17:25 2.4.0 Patch for 3c575 Miles Lane
2001-01-11 17:29 ` David Hinds
2001-01-11 18:15 ` David Brownell
2001-01-11 19:43 ` Miles Lane
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).