* eepro100 driver can't read serial eeprom that is beyond a bridge
@ 2002-02-16 1:47 Kallol Biswas
2002-02-23 0:40 ` Kallol Biswas
0 siblings, 1 reply; 2+ messages in thread
From: Kallol Biswas @ 2002-02-16 1:47 UTC (permalink / raw)
To: linux-kernel
Hi,
We have a system running 2.4.17 with the following configuration.
------North Bridge---------PCI-PCI-BRIDGE----82559ER
|
82559ER
# lspci
......
00:12.0 Ethernet controller: Intel Corp. 82559ER (rev 09)
.......
00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
.........
02:01.0 Ethernet controller: Intel Corp. 82559ER (rev 09)
#insmod eepro100
.........
eth0: Intel Corp. 82559ER, l00:eC0:s85:/30:292:.9F, 4IRQ 12.
............
eth1: OEM i82557/i82558 10/100 Ethernet, FF:FF:FF:FF:FF:FF, IRQ 10.
........
It seems eepro100 driver can't read the eeprom from the 2nd card. I
have
printed the data bits in the
do_eeprom_cmd routine, all were 1. Adjusting the delay did not help.
The eepro100 driver on 2.2 kernel works fine and even intel's e100
driver on
2.4.17 also works fine.
I guess there may be some timing issues involved.
Are the devices beyond a bridge imapped to I/O space properly in 2.4
kernel? Intel's driver reads the EEPROM
control register using memory cycles.
Kallol
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: eepro100 driver can't read serial eeprom that is beyond a bridge
2002-02-16 1:47 eepro100 driver can't read serial eeprom that is beyond a bridge Kallol Biswas
@ 2002-02-23 0:40 ` Kallol Biswas
0 siblings, 0 replies; 2+ messages in thread
From: Kallol Biswas @ 2002-02-23 0:40 UTC (permalink / raw)
To: linux-kernel
The problem has been fixed changing the access to the eeprom comtrol
register from I/O to memory.
The lines that have been changed:
do_eeprom_cmd() {
change io_outw to outw
and out_inw to inw
}
speedo_found1() {
/*
iobase = pci_resource_start(pdev, 1);
*/
iobase = ioaddr;
}
Kallol Biswas wrote:
> Hi,
> We have a system running 2.4.17 with the following configuration.
>
> ------North Bridge---------PCI-PCI-BRIDGE----82559ER
> |
> 82559ER
> # lspci
> ......
> 00:12.0 Ethernet controller: Intel Corp. 82559ER (rev 09)
> .......
> 00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
>
> .........
> 02:01.0 Ethernet controller: Intel Corp. 82559ER (rev 09)
>
> #insmod eepro100
>
> .........
> eth0: Intel Corp. 82559ER, l00:eC0:s85:/30:292:.9F, 4IRQ 12.
> ............
>
> eth1: OEM i82557/i82558 10/100 Ethernet, FF:FF:FF:FF:FF:FF, IRQ 10.
> ........
>
> It seems eepro100 driver can't read the eeprom from the 2nd card. I
> have
> printed the data bits in the
> do_eeprom_cmd routine, all were 1. Adjusting the delay did not help.
>
> The eepro100 driver on 2.2 kernel works fine and even intel's e100
> driver on
> 2.4.17 also works fine.
>
> I guess there may be some timing issues involved.
>
> Are the devices beyond a bridge imapped to I/O space properly in 2.4
> kernel? Intel's driver reads the EEPROM
> control register using memory cycles.
>
> Kallol
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-23 0:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-16 1:47 eepro100 driver can't read serial eeprom that is beyond a bridge Kallol Biswas
2002-02-23 0:40 ` Kallol Biswas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox