]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/dm9000.h
NAND: Fix integer overflow in ONFI detection of chips >= 4GiB
[people/ms/u-boot.git] / include / dm9000.h
1 /*
2 * NOTE: DAVICOM DM9000 ethernet driver interface
3 *
4 * Authors: Remy Bohmer <linux@bohmer.net>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
10 */
11 #ifndef __DM9000_H__
12 #define __DM9000_H__
13
14 /****************** function prototypes **********************/
15 #if !defined(CONFIG_DM9000_NO_SROM)
16 void dm9000_write_srom_word(int offset, u16 val);
17 void dm9000_read_srom_word(int offset, u8 *to);
18 #endif
19
20 #endif /* __DM9000_H__ */