diff options
author | marius <marius@FreeBSD.org> | 2004-08-14 21:43:37 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2004-08-14 21:43:37 +0000 |
commit | cd9e845490f35e203d0b972430feab6499bb55d6 (patch) | |
tree | e93e32a033367a06e910444e3e45b701b5ff8e22 /sys/sparc64/include | |
parent | c14fee263230d98381c73b8c0b4f9cb9fb9cd54a (diff) | |
download | FreeBSD-src-cd9e845490f35e203d0b972430feab6499bb55d6.zip FreeBSD-src-cd9e845490f35e203d0b972430feab6499bb55d6.tar.gz |
- Make OF_getetheraddr() honour the "local-mac-address?" system config
variable. If set to "true" OF_getetheraddr() will now return the unique
MAC address stored in the "local-mac-address" property of the device's
OFW node if present and the host address/system default MAC address if
the node doesn't doesn't have such a property. If set to "false" the
host address will be returned for all devices like before this change.
This brings the behaviour of device drivers for NICs with OFW support/
FCode, i.e. dc(4) for on-board DM9102A on Sun machines, gem(4) and hme(4),
regarding "local-mac-address?" in line with NetBSD and Solaris.
The man pages of the respective drivers will be updated separately to
reflect this change.
- Remove OF_getetheraddr2() which was used as a stopgap in dc(4). Its
functionality is now part of OF_getetheraddr().
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/ofw_machdep.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sparc64/include/ofw_machdep.h b/sys/sparc64/include/ofw_machdep.h index c40a7bc..f7062f7 100644 --- a/sys/sparc64/include/ofw_machdep.h +++ b/sys/sparc64/include/ofw_machdep.h @@ -32,7 +32,6 @@ int OF_decode_addr(phandle_t, int *, bus_addr_t *); void OF_getetheraddr(device_t, u_char *); -int OF_getetheraddr2(device_t, u_char *); void cpu_shutdown(void *); void openfirmware_exit(void *); |