add mirror and md5sum
[openwrt.git] / openwrt / package / linux / kernel-source / include / bcmsrom.h
1 /*
2 * Misc useful routines to access NIC srom
3 *
4 * Copyright 2004, Broadcom Corporation
5 * All Rights Reserved.
6 *
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 *
12 * $Id$
13 */
14
15 #ifndef _bcmsrom_h_
16 #define _bcmsrom_h_
17
18 extern int srom_var_init(void *sbh, uint bus, void *curmap, void *osh, char **vars, int *count);
19
20 extern int srom_read(uint bus, void *curmap, void *osh, uint byteoff, uint nbytes, uint16 *buf);
21 extern int srom_write(uint bus, void *curmap, void *osh, uint byteoff, uint nbytes, uint16 *buf);
22 extern int srom_parsecis(uint8 *cis, char **vars, int *count);
23
24 #endif /* _bcmsrom_h_ */
This page took 0.040189 seconds and 5 git commands to generate.