ArcNet and 2.6.8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 I am trying to upgrade my labtop to 2.6.8.1. I have ArcNet COM20020
PCMCIA card. After editing /etc/pcmcia/config to make it know about the
module, it finds the com20020 with no problems but as soon as I try to
start the network device the ifconfig process crashes.

I have looked a bit at the code and compared it to 2.4.20 which I used
before (with my own patches which I have sent here to - among other things
- to make com20020_cs work). 

Somebody (how do I find out whom???)  have made an open function pointer 
instead  of the old open_close function pointer. The generic ArcNet
framework calls this function pointer into the more specialized drivers
when you start your device. But none of the specialized drivers do never
initialize the function pointer! I.e. when you start your arcnet device
you get a call to 0x0!

I fixed it by changing
	lp->hw.open(dev);
to
	if(lp->hw.open) {
		lp->hw.open(dev);
	}


Esben



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux