[Etherboot-developers] EEPRO100.C PCI activiation
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Christoph P. <chr...@al...> - 2001-10-08 15:34:49
|
Hello Etherboot Hackers !
Have a look at eepro100.c in the eepro100_probe():
/* From Matt Hortman <mbh...@ac...> */
if (p->dev_id == PCI_DEVICE_ID_INTEL_82557 ) {
/*
* check to make sure the bios properly set the
* 82557 (or 82558) to be bus master
*
* from eepro100.c in 2.2.9 kernel source
*/
code
code
}
Why is this code only done for 82775 and not all derivates.
I tried to use a 82559ER which was NOT able to run etherboot.
The chip was found, mac address, etc, was read out, but writing
a command to the chips, the CMD registers does not get 0 after
writing to it. And the return STATUS register was always 0.
In the GRUB I used a local patch in the eepro100 driver with the
lines:
if ((p->dev_id == PCI_DEVICE_ID_INTEL_82557 ) ||
(p->dev_id == PCI_DEVICE_ID_INTEL_82559er) ) {
/*
* check to make sure the bios properly set the
... and here the chip works.
Should there not be all chips of the familiy in the "if" ?
An interesting thing: We are working on a prototype version
of a new built hardware using the i82559ER. On prototype A
the NIC works, on protoype B, the problem occurs. So there
is a depenceny on BIOS and hardware mapping of addresses, etc...
Bye
Christoph P.
--
+--------V--------+ Chr...@al...
| A L C A T E L | -----------------------------
+-----------------+ Phone: +43 1 27722 3706
T A S Fax: +43 1 27722 3955
|