Home
last modified time | relevance | path

Searched refs:cardno (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dmoxa.c1655 int cardno; member
1766 if(dltmp.cardno < 0 || dltmp.cardno >= MAX_BOARDS || dltmp.len < 0) in MoxaDriverIoctl()
1772 i = moxaloadbios(dltmp.cardno, dltmp.buf, dltmp.len); in MoxaDriverIoctl()
1775 return moxafindcard(dltmp.cardno); in MoxaDriverIoctl()
1777 moxaload320b(dltmp.cardno, dltmp.buf, dltmp.len); in MoxaDriverIoctl()
1781 i = moxaloadcode(dltmp.cardno, dltmp.buf, dltmp.len); in MoxaDriverIoctl()
1847 int MoxaPortsOfCard(int cardno) in MoxaPortsOfCard() argument
1850 if (moxa_boards[cardno].boardType == 0) in MoxaPortsOfCard()
1852 return (moxa_boards[cardno].numPorts); in MoxaPortsOfCard()
2872 static int moxaloadbios(int cardno, unsigned char *tmp, int len) in moxaloadbios() argument
[all …]
/linux-2.4.37.9/drivers/net/
Dni65.c219 int cardno; member
250 if( !(cards[p->cardno].config & 0x02) ) in ni65_set_performance()
273 cards[p->cardno].cardname,dev); in ni65_open()
386 p->cardno = i; in ni65_probe1()
388 printk("%s: %s found at %#3x, ", dev->name, cards[p->cardno].cardname , ioaddr); in ni65_probe1()
394 release_region(ioaddr, cards[p->cardno].total_size); in ni65_probe1()
446 release_region(ioaddr, cards[p->cardno].total_size); in ni65_probe1()
465 release_region(ioaddr, cards[p->cardno].total_size); in ni65_probe1()
474 if(request_dma(dev->dma, cards[p->cardno].cardname ) != 0) in ni65_probe1()
478 release_region(ioaddr, cards[p->cardno].total_size); in ni65_probe1()
[all …]
/linux-2.4.37.9/drivers/net/wan/
Dsdladrv.c2507 unsigned cardno=0; in wanpipe_hw_probe() local
2515 cardno+=2; in wanpipe_hw_probe()
2522 cardno += pci_probe(&hw); in wanpipe_hw_probe()
2528 return cardno; in wanpipe_hw_probe()