MDI return factory MAC address ioctl
This ioctl requests that the MDI driver
retrieve the factory MAC address
from the controller.
This will appear as an
message with an associated
Drivers for MDI devices
that do not use MAC addresses
must use this primitive
so that upper-layer calls will fail gracefully.
The ioctl data contains space
into which the MDI driver
should copy its MAC address.
The MDI driver should fill
the ioctl data area with its MAC address.
This address is the current in-use MAC address.
The data is one of the following:
Acknowledge successful completion of the operation.
ioc_rval set to zero
ioc_count set to the size of
the MAC address in the associated
Acknowledge unsuccessful completion of the operation.
ioc_count to zero,
ioc_rval to -1,
ioc_error set to EINVAL
if the device does not use MAC addresses.
For other error conditions,
set ioc_error to an appropriate value from
1, 2, 2.1
``MDI ioctls'' in HDK Technical Reference
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
HDK 7.1.0b - 15 March 2000