cardtype
static int pci_dio_reset(struct comedi_device *dev, unsigned long cardtype)
if (cardtype == TYPE_PCI1752 || cardtype == TYPE_PCI1756)
switch (cardtype) {
if (cardtype == TYPE_PCI1753E) {
if (cardtype == TYPE_PCI1754) {
unsigned long cardtype)
if (cardtype != TYPE_PCI1753)
return cardtype;
return cardtype;
cardtype = TYPE_PCI1753E;
return cardtype;
unsigned long cardtype;
cardtype = pci_dio_override_cardtype(dev, id->driver_data);
return comedi_pci_auto_config(dev, &adv_pci_dio_driver, cardtype);
module_param_array(cardtype, int, &cardtype_c, 0644);
MODULE_PARM_DESC(cardtype,
static int cardtype[CX18_MAX_CARDS];
cx->options.cardtype = cardtype[cx->instance];
if (cx->options.cardtype == -1) {
cx->card = cx18_get_card(cx->options.cardtype - 1);
else if (cx->options.cardtype != 0)
if (cx->options.cardtype == -1) {
int cardtype; /* force card type on load */
module_param_array(cardtype, int, &cardtype_c, 0644);
MODULE_PARM_DESC(cardtype,
itv->options.cardtype = cardtype[itv->instance];
if (itv->options.cardtype == -1) {
if ((itv->card = ivtv_get_card(itv->options.cardtype - 1))) {
} else if (itv->options.cardtype != 0) {
static int cardtype[IVTV_MAX_CARDS];
if (itv->options.cardtype == -1) {
int cardtype; /* force card type on load */
enum mac8390_type cardtype)
if (useresources[cardtype] == 1) {
switch (cardtype) {
enum mac8390_type cardtype = MAC8390_NONE;
cardtype = mac8390_ident(fres);
if (cardtype == MAC8390_NONE)
if (mac8390_rsrc_init(dev, fres, cardtype))
err = mac8390_initdev(dev, board, cardtype);
REGA( CSR3 ) = CSR3_BSWP | (lp->cardtype == PAM_CARD ? CSR3_ACON : 0);
if (lp->cardtype != OLD_RIEBL && lp->cardtype != NEW_RIEBL)
enum lance_type cardtype;
lp->cardtype = PAM_CARD;
lp->cardtype = NEW_RIEBL;
lp->cardtype = OLD_RIEBL;
if (lp->cardtype == PAM_CARD ||
dev->name, lance_names[lp->cardtype],
switch( lp->cardtype ) {
if (lp->cardtype == OLD_RIEBL) {
if (lp->cardtype == PAM_CARD)
REGA( CSR3 ) = CSR3_BSWP | (lp->cardtype == PAM_CARD ? CSR3_ACON : 0);
if (lp->cardtype == OLD_RIEBL || lp->cardtype == NEW_RIEBL) { \
REGA( CSR3 ) = CSR3_BSWP | (lp->cardtype == PAM_CARD ? CSR3_ACON : 0);
else if (lp->cardtype == PAM_CARD && (len & 1))
if (lp->cardtype == MBH10302)
enum cardtype cardtype;
enum cardtype cardtype;
cardtype = TDK;
cardtype = NEC; /* MultiFunction Card */
cardtype = KME; /* MultiFunction Card */
cardtype = CONTEC;
cardtype = MBH10302;
cardtype = MBH10304;
cardtype = MBH10304;
cardtype = LA501;
cardtype = MBH10304;
cardtype = XXX10304; /* MBH10304 with buggy CIS */
cardtype = MBH10302; /* NextCom NC5310, etc. */
cardtype = UNGERMANN;
cardtype = MBH10302;
} else if (cardtype == UNGERMANN) {
if (cardtype == MBH10302)
switch (cardtype) {
if (cardtype == MBH10304) {
if( cardtype == TDK ) {
} else if( cardtype == LA501 ) {
} else if( cardtype == NEC ) {
} else if( cardtype == KME ) {
lp->cardtype = cardtype;
if (lp->cardtype == MBH10302)
if (lp->cardtype == MBH10302)
if( lp->cardtype == TDK || lp->cardtype == CONTEC)
if (lp->cardtype == MBH10302)
if (lp->cardtype == MBH10302)
if (dev->dac_support && (aac_get_driver_ident(dev->cardtype)->quirks
? ((aac_get_driver_ident(dev->cardtype)->quirks & AAC_QUIRK_SCSI_32)
struct aac_driver_ident *mp = aac_get_driver_ident(dev->cardtype);
int cardtype;
index = aac->cardtype;
aac_reinit_aif(dev, dev->cardtype);
aac_drivers[dev->cardtype].model);
aac_drivers[dev->cardtype].vname);
aac->cardtype = index;
return aac_drivers[dev->cardtype].name;
if (hba->cardtype == st_yel) {
if (hba->cardtype == st_yel) {
if (hba->cardtype == st_yel) {
if (hba->cardtype == st_yel || hba->cardtype == st_P3)
if (hba->cardtype == st_yel) {
} else if (hba->cardtype == st_P3) {
if (hba->cardtype == st_yosemite)
if (hba->cardtype == st_shasta)
else if (hba->cardtype == st_yel)
else if (hba->cardtype == st_P3)
if (msi || hba->cardtype == st_P3) {
(hba->cardtype == st_yel || hba->cardtype == st_P3) ?
hba->cardtype = (unsigned int) id->driver_data;
ci = &stex_card_info[hba->cardtype];
if (hba->cardtype == st_yel || hba->cardtype == st_P3)
if (hba->cardtype == st_yel || hba->cardtype == st_P3)
if (hba->cardtype == st_seq ||
(hba->cardtype == st_vsc && (pdev->subsystem_device & 1))) {
if (hba->cardtype == st_seq ||
(hba->cardtype == st_vsc && (pdev->subsystem_device & 1))) {
if (hba->cardtype == st_yel || hba->cardtype == st_P3)
if (hba->cardtype == st_yel || hba->cardtype == st_P3)
if ((hba->cardtype == st_yel || hba->cardtype == st_P3) &&
if (hba->cardtype == st_yel || hba->cardtype == st_P3) {
if ((hba->cardtype == st_yosemite || hba->cardtype == st_yel
|| hba->cardtype == st_P3)
} else if ((hba->cardtype == st_yel || hba->cardtype == st_P3)
if ((hba->cardtype == st_yel || hba->cardtype == st_P3)
unsigned int cardtype;
if (hba->cardtype == st_P3) {
if (hba->cardtype == st_shasta || id == host->max_id - 1) {
hba->cardtype != st_yosemite))) {
if (hba->cardtype == st_yosemite)
hba->cardtype == st_shasta))
if (hba->cardtype == st_yel) {
static enum cardtype external_card_type = IS_VGA;
enum gxt_cards cardtype;
cardtype = ent->driver_data;
par->refclk_ps = cardinfo[cardtype].refclk_ps;
strscpy(info->fix.id, cardinfo[cardtype].cardname,
int cardtype;