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

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	drahn_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2000/10/18 22:53:06

Modified files:
	sys/arch/powerpc/mac: if_gm.c 
	sys/arch/powerpc/pci: mpcpcibus.c pci_machdep.h pcibrvar.h 

Log message:
Changes to pci and if_gm to support obtaining the ethernet hardware address
from the pci bus. This is in preference to adding openfirmware code to
the device drivers. If there was a known way of obtaining the ethernet
hardware address from a eeprom or other methods that would be used, but
the only known way to get this information for the Apple machines with
if_gm is via openfirmware.

This modifies a previous mechanism that was used to obtain similar information
from different openfirmware systems, however the old mechanism would create
information such as media type. This information was hardcoded into
that code. Now the code only returns the actual address which is the
only informatin that openfirmware provides.

Visit your host, monkey.org