[tulip] the question about hotplug in tulip driver(not buildtin kernel 2.4)

Ming Chuan Huang huangmc@csie.nctu.edu.tw
Tue Feb 11 20:26:01 2003


Dear Becker,
    I think I may misconfigure hotplug. I use RH 7.3 with default kernel
version 2.4.18-3 and I use ADMtek 985 cardbus. I modify the file located at
/lib/module/2.4.18-3/modules.pcimap  and added support to my card.It works
when I insert my card(It loads the tulip dirver I made,I sure)  and  driver
does not unload (type lsmod to check) when I remove the card. The timer is
alive(I add some debug message). I reinsert the card, but it will never work
until I rmmod driver.
I compile the driver without option CARDBUS . Is anything wrong???

Best Regards,
Jeffrey


----- Original Message -----
From: "Donald Becker" <becker@scyld.com>
To: "niceboy" <huangmc@csie.nctu.edu.tw>
Cc: <tulip@scyld.com>
Sent: Wednesday, February 12, 2003 2:40 AM
Subject: Re: [tulip] the question about hotplug in tulip driver(not buildtin
kernel 2.4)


> On Tue, 11 Feb 2003, niceboy wrote:
>
> > Can any comment to let me can use hotplug in tulip driver?
>
> The Tulip driver has supported hotplug for many years.
>
> > The original driver defines an Option CardBus,
>
> Yes, to interface to the original PCMCIA code.
> A similar interface to the standard Scyld hotplug code is provided with
> the "cb_shim" module.
>
> > but the  newer cardmgr treats the cardbus as Hotplug PCI. So
> > I can not hotswap with tulip driver. I trace the code, but the coding
> > style is old PCI programming style. Anyone can help me??
>
> What driver version are you looking at?
> Most of the PCI drivers I release do have hotplug support, and have had
> it for many years.  I suspect that you are either looking at an old
> driver or do not understand the interface.
>
> --
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Scyld Beowulf cluster system
> Annapolis MD 21403 410-990-9993
>

-----------------------------------------------------------------
< ¨C¤Ñ³£ Yahoo!©_¼¯ >  www.yahoo.com.tw