This is the mail archive of the
ecos-cvs@sourceware.org
mailing list for the ecos project.
ecos/packages/devs/eth/davicom/dm9000/current ...
- From: asl at sourceware dot org
- To: ecos-cvs at ecos dot sourceware dot org
- Date: 2 Nov 2005 11:47:16 -0000
- Subject: ecos/packages/devs/eth/davicom/dm9000/current ...
CVSROOT: /cvs/ecos
Module name: ecos
Changes by: asl@sourceware.org 2005-11-02 11:47:16
Modified files:
packages/devs/eth/davicom/dm9000/current: ChangeLog
packages/devs/eth/davicom/dm9000/current/cdl:
davicom_dm9000_eth_drivers.cdl
packages/devs/eth/davicom/dm9000/current/src: if_dm9000.c
Log message:
* src/if_dm9000.c (eeprom_read, eeprom_write, eeprom_reload):
Delay more when writing/reading eeprom (200 us isn't enough).
(phy_init): Turn on PHY before writing PHY registers. Wait for
auto negotiation to be complete.
(dm9000_send): Correctly write last words to Tx SRAM when using a
8/16 bit device. Clarify and comment code.
(dm9000_poll): Parse Rx packet header correctly on 8/16 bit
devices.
(dm9000_ioctl): Handle ETH_DRV_GET_MAC_ADDRESS and
ETH_DRV_SET_MAC_ADDRESS.
* cdl/davicom_dm9000_eth_drivers.cdl: New option
CYGSEM_DEVS_ETH_DAVICOM_DM9000_WRITE_EEPROM to enable/disable
writing to EEPROM.