Subject: Re: CVS commit: src/sys/dev/pci
To: ITOH Yasufumi <itohy@netbsd.org>
From: Jake Burkholder <jake@locore.ca>
List: source-changes
Date: 12/26/2002 22:13:54
Apparently, On Fri, Dec 27, 2002 at 12:59:51AM +0200,
ITOH Yasufumi said words to the effect of;
>
> 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.
Will this generally give a different ethernet address than before?
I'd like to pick up this change for FreeBSD and am just curious if all the
netboot people will need to update their /etc/ethers.
Jake
>
> 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.