Source
int eepro100_write_eeprom (struct eth_device* dev, int location, int addr_len, unsigned short data)
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2002
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
/* Ethernet chip registers.
*/
/* Rx/Command Unit Status *Word* */
/* Rx/Command Unit STAT/ACK byte */
/* Rx/Command Unit Command *Word* */
/* Rx/Command Unit Intr.Control Byte */
/* General purpose pointer. */
/* Misc. commands and operands. */
/* Flash memory control. */
/* EEPROM memory control. */
/* MDI interface control. */
/* Early receive byte count. */
/* 82559 General Control Register */
/* 82559 General Status register */
/* 82559 SCB status word defnitions
*/
/* CU finished command (transmit) */
/* frame received */
/* CU left active state */
/* receiver left ready state */
/* MDI read/write cycle done */
/* software generated interrupt */
/* flow control pause interrupt */
/* all the above */
/* System control block commands
*/
/* CU Commands */
/* Load Dump Statistics ctrs addr */
/* Dump statistics counters. */
/* Base address to add to CU commands */
/* Dump then reset stats counters. */
/* RUC Commands */
/* (seems not to clear on acceptance) */