File Index
Files and directories
Sign in
FILE

netup-eeprom.h

File preview with syntax highlighting.

linux-6.19.14/drivers/media/pci/cx23885/netup-eeprom.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * netup-eeprom.h
 4 *
 5 * 24LC02 EEPROM driver in conjunction with NetUP Dual DVB-S2 CI card
 6 *
 7 * Copyright (C) 2009 NetUP Inc.
 8 * Copyright (C) 2009 Abylay Ospan <aospan@netup.ru>
 9 */
10
11#ifndef NETUP_EEPROM_H
12#define NETUP_EEPROM_H
13
14struct netup_port_info {
15	u8 mac[6];/* card MAC address */
16};
17
18struct netup_card_info {
19	struct netup_port_info port[2];/* ports - 1,2 */
20	u8 rev;/* card revision */
21};
22
23extern int netup_eeprom_read(struct i2c_adapter *i2c_adap, u8 addr);
24extern void netup_get_card_info(struct i2c_adapter *i2c_adap,
25				struct netup_card_info *cinfo);
26
27#endif
~/ Read-only file preview.