Source-Changes archive

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

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   itohy
Date:           Thu Dec 26 22:59:51 UTC 2002

Modified Files:
        src/sys/dev/pci: if_hme_pci.c

Log Message:
Lookup and use the Ethernet address in the FCode PROM,
and avoid using MD myetheraddr() function.
This makes the driver MI, and closes PR kern/13797.

The PCI HME is a PCIO chip, which is composed of two functions:
        function 0: PCI-EBus2 bridge, and
        function 1: HappyMeal Ethernet controller.

The Ethernet address is (expected to be) in the PCI FCode PROM connected
to the EBus bridge (function 0) of the device.
Since the HME is on function 1, some magic is used to access to the PROM.

We don't have MI EBus driver since no EBus device exists (besides the
FCode PROM) on add-on HME boards.  The ``not configured'' message for
function 0 is what is expected.

The SPARC case is currently unchanged.  It needs interaction with OpenBoot.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/dev/pci/if_hme_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index