Re: Atmel at76c50x PCMCIA 2.6.6 kernel panic

From: Andrew Lau
Date: Fri Jul 16 2004 - 23:00:46 EST


Dear Simon,

Is this patch still necessary? It wasn't merged in with 2.6.7 and I
haven't noticed it in the 2.6.8-rc1 changelog either. I'd test it
myself, but I don't have access to a wireless access point at the
moment.

Cheers,
Andrew "Netsnipe" Lau

On Tue, May 11, 2004 at 03:23:07PM +0100, Simon Kelley wrote:
> Andrew Lau wrote:
> >Hi Simon and co.,
> >
> >My Atmel AT76C502AR_D 802.11b PCMCIA card was previously working fine
> >under the 2.6.5 kernel via the atmel/atmel_cs modules. However, since
> >upgrading to 2.6.6 I now get a kernel panic whenever I insert my card
> >and hotplug (2004-03-29) attempts to upload the 0.7-1 version of Simon's
> >firmware <http://thekelleys.org.uk/atmel/>. I've provided as much
> >debugging information as I can below, so feel free to let me know if
> >I've missed out on anything.
> >
> >Thanks in advanced,
> >Andrew "Netsnipe" Lau
> >
> >PS: Please CC: me as I'm not on LKML.
> >
>
> Sorry 'bout that: I believe that this is a casualty of ongoing
> driver-model changes. I have the following patch which purports to work
> around the problem. Please could you try i and let me know:
>
>
> Cheers,
>
> Simon.
>
> --- linux.orig/drivers/net/wireless/atmel_cs.c
> +++ linux/drivers/net/wireless/atmel_cs.c
> @@ -350,6 +350,9 @@ static struct {
>
> static struct device atmel_device = {
> .bus_id = "pcmcia",
> + .kobj = {
> + .k_name = "atmel_cs"
> + }
> };
>
> static void atmel_config(dev_link_t *link)
>

--
---------------------------------------------------------------------------
Andrew "Netsnipe" Lau <http://www.cse.unsw.edu.au/~alau/>
Debian GNU/Linux Maintainer & UNSW Computing Students' Society President
-
"Nobody expects the Debian Inquisition!
Our two weapons are fear and surprise...and ruthless efficiency!"
---------------------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature