#ifndef SYM_NVRAM_H
#define SYM_NVRAM_H
#include "sym53c8xx.h"
#define SYMBIOS_NVRAM_SIZE …
#define SYMBIOS_NVRAM_ADDRESS …
struct Symbios_nvram { … };
Symbios_nvram;
Symbios_host;
Symbios_target;
Symbios_scam;
#define TEKRAM_NVRAM_SIZE …
#define TEKRAM_93C46_NVRAM_ADDRESS …
#define TEKRAM_24C16_NVRAM_ADDRESS …
struct Tekram_nvram { … };
Tekram_nvram;
Tekram_target;
#ifndef CONFIG_PARISC
struct pdc_initiator { … };
#endif
struct sym_nvram { … };
#if SYM_CONF_NVRAM_SUPPORT
void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram);
void sym_nvram_setup_target (struct sym_tcb *tp, int target, struct sym_nvram *nvp);
int sym_read_nvram (struct sym_device *np, struct sym_nvram *nvp);
char *sym_nvram_type(struct sym_nvram *nvp);
#else
static inline void sym_nvram_setup_host(struct Scsi_Host *shost, struct sym_hcb *np, struct sym_nvram *nvram) { }
static inline void sym_nvram_setup_target(struct sym_tcb *tp, struct sym_nvram *nvram) { }
static inline int sym_read_nvram(struct sym_device *np, struct sym_nvram *nvp)
{
nvp->type = 0;
return 0;
}
static inline char *sym_nvram_type(struct sym_nvram *nvp)
{
return "No NVRAM";
}
#endif
#endif