diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2000-10-19 04:53:07 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2000-10-19 04:53:07 +0000 |
commit | dfb85655ce8ef4ef4a7fada878ab09453688a593 (patch) | |
tree | 2b78cafdf13ecbcdcd9586b805e91d402fde8216 /sys/arch/powerpc/pci/pcibrvar.h | |
parent | 3547485115c7da68cfa55b8d0f728e1fda51887f (diff) |
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.
Diffstat (limited to 'sys/arch/powerpc/pci/pcibrvar.h')
-rw-r--r-- | sys/arch/powerpc/pci/pcibrvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/powerpc/pci/pcibrvar.h b/sys/arch/powerpc/pci/pcibrvar.h index 21b2ebb9de7..f99ebbc95b4 100644 --- a/sys/arch/powerpc/pci/pcibrvar.h +++ b/sys/arch/powerpc/pci/pcibrvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcibrvar.h,v 1.5 2000/03/20 07:10:51 rahnds Exp $ */ +/* $OpenBSD: pcibrvar.h,v 1.6 2000/10/19 04:53:06 drahn Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -41,6 +41,7 @@ struct pcibr_config { int config_type; int bus; int pci_init_done; + int node; }; struct pcibr_softc { |