Lines Matching +full:0 +full:x3300

17  .	ifport = 0 for autodetect, 1 for TP, 2 for AUI ( or 10base2 )
110 {.port = 0x200, .irq = 0},
111 {.port = 0x220, .irq = 0},
112 {.port = 0x240, .irq = 0},
113 {.port = 0x260, .irq = 0},
114 {.port = 0x280, .irq = 0},
115 {.port = 0x2A0, .irq = 0},
116 {.port = 0x2C0, .irq = 0},
117 {.port = 0x2E0, .irq = 0},
118 {.port = 0x300, .irq = 0},
119 {.port = 0x320, .irq = 0},
120 {.port = 0x340, .irq = 0},
121 {.port = 0x360, .irq = 0},
122 {.port = 0x380, .irq = 0},
123 {.port = 0x3A0, .irq = 0},
124 {.port = 0x3C0, .irq = 0},
125 {.port = 0x3E0, .irq = 0},
126 {.port = 0, .irq = 0},
138 . 0 for normal operation
144 #define SMC_DEBUG 0
323 SMC_SELECT_BANK( 0 ); in smc_reset()
348 outb( 0, ioaddr + INT_MASK ); in smc_reset()
361 SMC_SELECT_BANK( 0 ); in smc_enable()
389 outb( 0, ioaddr + INT_MASK ); in smc_shutdown()
392 SMC_SELECT_BANK( 0 ); in smc_shutdown()
395 #if 0 in smc_shutdown()
427 unsigned char invert3[] = { 0, 4, 2, 6, 1, 5, 3, 7 }; in smc_setmulticast()
430 memset( multicast_table, 0, sizeof( multicast_table ) ); in smc_setmulticast()
436 position = ether_crc_le(6, ha->addr) & 0x3f; in smc_setmulticast()
446 for ( i = 0; i < 8 ; i++ ) { in smc_setmulticast()
500 ** 'pages', minus 1 ( since a packet can't ever have 0 pages :) ) in smc_wait_to_send_packet()
505 numPages = ((length & 0xfffe) + 6) / 256; in smc_wait_to_send_packet()
598 if ( packet_no & 0x80 ) { in smc_hardware_send_packet()
623 outw( 0, ioaddr + DATA_1 ); in smc_hardware_send_packet()
625 outb( (length+6) & 0xFF,ioaddr + DATA_1 ); in smc_hardware_send_packet()
637 if ( length & 0x2 ) { in smc_hardware_send_packet()
639 outw( *((word *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1); in smc_hardware_send_packet()
648 if ( (length & 1) == 0 ) { in smc_hardware_send_packet()
649 outw( 0, ioaddr + DATA_1 ); in smc_hardware_send_packet()
652 outb( 0x20, ioaddr + DATA_1); in smc_hardware_send_packet()
676 | dev->base_addr == 0, try to find all possible locations
694 int err = 0; in smc_init()
699 if (unit >= 0) { in smc_init()
706 if (io > 0x1ff) { /* Check a single specified location. */ in smc_init()
708 } else if (io != 0) { /* Don't probe at all. */ in smc_init()
712 if (smc_probe(dev, smcdev->port) == 0) in smc_init()
778 as probe_irq_off will return a 0 anyway, which is what I in smc_findirq()
792 outb( 0, ioaddr + INT_MASK ); in smc_findirq()
802 return 0; in smc_findirq()
821 . Returns a 0 on success
824 . (1) see if the high byte of BANK_SELECT is 0x33
868 /* First, see if the high byte is 0x33 */ in smc_probe()
870 if ( (bank & 0xFF00) != 0x3300 ) { in smc_probe()
876 outw( 0x0, ioaddr + BANK_SELECT ); in smc_probe()
878 if ( (bank & 0xFF00 ) != 0x3300 ) { in smc_probe()
887 if ( ioaddr != ( base_address_register >> 3 & 0x3E0 ) ) { in smc_probe()
890 ioaddr, base_address_register >> 3 & 0x3E0 ); in smc_probe()
902 if ( !chip_ids[ ( revision_register >> 4 ) & 0xF ] ) { in smc_probe()
924 for ( i = 0; i < 6; i += 2 ) { in smc_probe()
929 addr[i] = address & 0xFF; in smc_probe()
935 SMC_SELECT_BANK( 0 ); in smc_probe()
938 memory = ( memory_cfg_register >> 9 ) & 0x7; /* multiplier */ in smc_probe()
939 memory *= 256 * ( memory_info_register & 0xFF ); in smc_probe()
948 version_string = chip_ids[ ( revision_register >> 4 ) & 0xF ]; in smc_probe()
956 if ( dev->if_port == 0 ) { in smc_probe()
970 . If dev->irq is 0, then the device has to be banged on to see in smc_probe()
997 if (dev->irq == 0 ) { in smc_probe()
1006 version_string, revision_register & 0xF, ioaddr, dev->irq, in smc_probe()
1014 retval = request_irq(dev->irq, smc_interrupt, 0, DRV_NAME, dev); in smc_probe()
1024 return 0; in smc_probe()
1034 #if 0 in print_packet()
1055 memset(netdev_priv(dev), 0, sizeof(struct smc_local)); in smc_open()
1080 for ( i = 0; i < 6; i += 2 ) { in smc_open()
1089 return 0; in smc_open()
1151 packet_length &= 0x07ff; /* mask off top bits */ in smc_rcv()
1197 insb( ioaddr + DATA_1, data + (packet_length & 0xFFFFFC), in smc_rcv()
1198 packet_length & 0x3 ); in smc_rcv()
1260 packet_no &= 0x7F; in smc_tx()
1277 #if 0 in smc_tx()
1285 SMC_SELECT_BANK( 0 ); in smc_tx()
1324 int handled = 0; in smc_interrupt()
1336 outb( 0, ioaddr + INT_MASK ); in smc_interrupt()
1366 SMC_SELECT_BANK( 0 ); in smc_interrupt()
1369 dev->stats.collisions += card_stats & 0xF; in smc_interrupt()
1372 dev->stats.collisions += card_stats & 0xF; in smc_interrupt()
1382 lp->packets_waiting = 0; in smc_interrupt()
1441 return 0; in smc_close()
1456 SMC_SELECT_BANK(0); in smc_set_multicast_list()
1494 outw( 0, ioaddr + MULTICAST1 ); in smc_set_multicast_list()
1495 outw( 0, ioaddr + MULTICAST2 ); in smc_set_multicast_list()
1496 outw( 0, ioaddr + MULTICAST3 ); in smc_set_multicast_list()
1497 outw( 0, ioaddr + MULTICAST4 ); in smc_set_multicast_list()
1507 module_param_hw(io, int, ioport, 0);
1508 module_param_hw(irq, int, irq, 0);
1509 module_param(ifport, int, 0);
1512 MODULE_PARM_DESC(ifport, "SMC 99194 interface port (0-default, 1-TP, 2-AUI)");
1516 if (io == 0) in smc_init_module()