Lines Matching defs:slic_oasis_eeprom
360 struct slic_oasis_eeprom { struct
361 __le16 id; /* 00 EEPROM/FLASH Magic code 'A5A5' */
362 __le16 eeprom_code_size;/* 01 Size of EEPROM Codes (bytes * 4)*/
363 __le16 spidev0_cfg; /* 02 Flash Config for SPI device 0 */
364 __le16 spidev1_cfg; /* 03 Flash Config for SPI device 1 */
365 __le16 vendor_id; /* 04 Vendor ID */
366 __le16 dev_id; /* 05 Device ID (function 0) */
367 u8 rev_id; /* 06 Revision ID */
368 u8 class_code0[3]; /* 07 Class Code for PCI function 0 */
369 u8 irqpin1; /* 08 Interrupt pin for PCI function 1*/
370 u8 class_code1[3]; /* 09 Class Code for PCI function 1 */
371 u8 irqpin2; /* 10 Interrupt pin for PCI function 2*/
372 u8 irqpin0; /* Interrupt pin for PCI function 0*/
373 u8 min_grant; /* 11 Minimum grant */
374 u8 max_lat; /* Maximum Latency */
375 __le16 sub_vendor_id; /* 12 Subsystem Vendor Id */
376 __le16 sub_id; /* 13 Subsystem ID */
377 __le16 flash_size; /* 14 Flash size (bytes / 4K) */
378 __le16 dram_size2pci; /* 15 DRAM size to PCI (bytes / 64K) */
379 __le16 rom_size2pci; /* 16 Flash (ROM extension) size to PCI
382 __le16 dev_id1; /* 17 Device Id (function 1) */
383 __le16 dev_id2; /* 18 Device Id (function 2) */
384 __le16 dev_stat_cfg; /* 19 Device Status Config Bytes 6-7 */
385 __le16 pme_cap; /* 20 Power Mgment capabilities */
386 u8 msi_cap; /* 21 MSI capabilities */
387 u8 clock_div; /* Clock divider */
388 __le16 pci_stat_lo; /* 22 PCI Status bits 15:0 */
389 __le16 pci_stat_hi; /* 23 PCI Status bits 31:16 */
390 __le16 dram_cfg_lo; /* 24 DRAM Configuration bits 15:0 */
391 __le16 dram_cfg_hi; /* 25 DRAM Configuration bits 31:16 */
392 __le16 dram_size; /* 26 DRAM size (bytes / 64K) */
393 __le16 gpio_tbi_ctrl; /* 27 GPIO/TBI controls for functions 1/0 */
394 __le16 eeprom_size; /* 28 EEPROM Size */
395 u8 mac[ETH_ALEN]; /* 29 MAC addresses (2 ports) */
396 u8 mac2[ETH_ALEN];
397 u8 fru_format; /* 35 Alacritech FRU format type */
398 u8 fru_assembly[6]; /* Alacritech FRU information */
399 u8 fru_rev[2];
400 u8 fru_serial[14];
401 u8 fru_pad[3];
402 u8 oem_fru[28]; /* optional OEM FRU information */
403 u8 pad[4]; /* Pad to 128 bytes - includes 2 checksum bytes