This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RedBoot "set MAC address" API?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sun, 5 Nov 2006 16:25:39 +0000 (UTC)
- Subject: [ECOS] RedBoot "set MAC address" API?
I've found the "normal" driver API to set an Ethernet interface's MAC
address using the driver's control function with a key of
ETH_DRV_SET_MAC_ADDRESS, but how does one do the same thing in
RedBoot? The only ethernet driver functions I can find that
are visible to RedBoot "application" code are
eth_drv_buffers_init
eth_drv_dsr
eth_drv_int_vector
eth_drv_read
eth_drv_stop
eth_drv_write
How do I call the ethernet driver's control function to set the
MAC address?
--
Grant Edwards grante Yow! HAIR TONICS, please!!
at
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss