Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 115) sorted by relevance

12345

/linux-2.4.37.9/drivers/net/tulip/
Deeprom.c126 tp->mtable->mleaf[0].media = 11; in tulip_build_fake_mediatable()
198 int media = get_u16(p); in tulip_parse_eeprom() local
203 dev->name, media, in tulip_parse_eeprom()
204 media & 0x0800 ? "Autosense" : medianame[media & MEDIA_MASK]); in tulip_parse_eeprom()
218 u16 media = get_u16(p); in tulip_parse_eeprom() local
238 mtable->defaultmedia = media; in tulip_parse_eeprom()
245 media & 0x0800 ? "Autosense" : medianame[media & MEDIA_MASK]); in tulip_parse_eeprom()
251 leaf->media = p[0] & 0x3f; in tulip_parse_eeprom()
260 leaf->media = p[2] & 0x0f; in tulip_parse_eeprom()
273 leaf->media = 11; in tulip_parse_eeprom()
[all …]
Dtimer.c122 if (mleaf->media == 3 && (csr12 & 0x02)) in tulip_timer()
138 medianame[mleaf->media & MEDIA_MASK]); in tulip_timer()
152 dev->if_port = tp->mtable->mleaf[tp->cur_index].media; in tulip_timer()
158 dev->name, medianame[mleaf->media & MEDIA_MASK], in tulip_timer()
159 medianame[tp->mtable->mleaf[tp->cur_index].media]); in tulip_timer()
DMakefile12 obj-y := eeprom.o interrupt.o media.o \
/linux-2.4.37.9/drivers/net/
Dde4x5.c811 int media; /* Media (eg TP), mode (eg 100B)*/ member
2398 lp->media = INIT; in autoconf_media()
2413 return (lp->media); in autoconf_media()
2436 switch (lp->media) { in dc21040_autoconf()
2443 lp->media = TP; in dc21040_autoconf()
2445 lp->media = BNC_AUI; in dc21040_autoconf()
2447 lp->media = EXT_SIA; in dc21040_autoconf()
2449 lp->media = NC; in dc21040_autoconf()
2487 if (lp->media != lp->c_media) { in dc21040_autoconf()
2489 lp->c_media = lp->media; in dc21040_autoconf()
[all …]
Dmii.c209 int advertise, lpa, media, duplex; in mii_check_media() local
248 media = mii_nway_result(lpa & advertise); in mii_check_media()
249 duplex = (media & ADVERTISE_FULL) ? 1 : 0; in mii_check_media()
254 media & (ADVERTISE_100FULL | ADVERTISE_100HALF) ? in mii_check_media()
Ddl2k.c69 static char *media[MAX_UNITS]; variable
81 MODULE_PARM (media, "1-" __MODULE_STRING (MAX_UNITS) "s");
193 if (media[card_idx] != NULL) { in rio_probe1()
195 if (strcmp (media[card_idx], "auto") == 0 || in rio_probe1()
196 strcmp (media[card_idx], "autosense") == 0 || in rio_probe1()
197 strcmp (media[card_idx], "0") == 0 ) { in rio_probe1()
199 } else if (strcmp (media[card_idx], "100mbps_fd") == 0 || in rio_probe1()
200 strcmp (media[card_idx], "4") == 0) { in rio_probe1()
203 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 in rio_probe1()
204 || strcmp (media[card_idx], "3") == 0) { in rio_probe1()
[all …]
Dsmc-ultra32.c124 int i, edge, media, retval; in ultra32_probe1() local
142 media = inb(ioaddr + ULTRA32_CFG7) & 0x03; in ultra32_probe1()
145 ioaddr >> 12, ifmap[media], in ultra32_probe1()
Dsundance.c128 static char *media[MAX_UNITS]; variable
202 MODULE_PARM(media, "1-" __MODULE_STRING(MAX_UNITS) "s");
658 if (media[card_idx] != NULL) { in sundance_probe1()
660 if (strcmp (media[card_idx], "100mbps_fd") == 0 || in sundance_probe1()
661 strcmp (media[card_idx], "4") == 0) { in sundance_probe1()
664 } else if (strcmp (media[card_idx], "100mbps_hd") == 0 in sundance_probe1()
665 || strcmp (media[card_idx], "3") == 0) { in sundance_probe1()
668 } else if (strcmp (media[card_idx], "10mbps_fd") == 0 || in sundance_probe1()
669 strcmp (media[card_idx], "2") == 0) { in sundance_probe1()
672 } else if (strcmp (media[card_idx], "10mbps_hd") == 0 || in sundance_probe1()
[all …]
/linux-2.4.37.9/drivers/net/pcmcia/
D3c589_cs.c113 struct timer_list media; member
706 lp->media.function = &media_check; in el3_open()
707 lp->media.data = (u_long)lp; in el3_open()
708 lp->media.expires = jiffies + HZ; in el3_open()
709 add_timer(&lp->media); in el3_open()
872 u_short media, errs; in media_check() local
889 lp->media.expires = jiffies + 1; in media_check()
890 add_timer(&lp->media); in media_check()
897 media = inw(ioaddr+WN4_MEDIA) & 0xc810; in media_check()
901 media &= ~0x0010; in media_check()
[all …]
D3c574_cs.c221 struct timer_list media; member
856 lp->media.function = &media_check; in el3_open()
857 lp->media.data = (u_long)lp; in el3_open()
858 lp->media.expires = jiffies + HZ; in el3_open()
859 add_timer(&lp->media); in el3_open()
1026 u_short /* cable, */ media, partner; in media_check() local
1042 lp->media.expires = jiffies + 2; in media_check()
1043 add_timer(&lp->media); in media_check()
1050 media = mdio_read(ioaddr, lp->phys, 1); in media_check()
1055 if (media != lp->media_status) { in media_check()
[all …]
Dsmc91c92_cs.c127 struct timer_list media; member
1311 smc->media.function = &media_check; in smc_open()
1312 smc->media.data = (u_long)smc; in smc_open()
1313 smc->media.expires = jiffies + HZ; in smc_open()
1314 add_timer(&smc->media); in smc_open()
1345 del_timer(&smc->media); in smc_close()
1976 u_short i, media, saved_bank; in media_check() local
1993 media = inw(ioaddr + EPH) & EPH_LINK_OK; in media_check()
1995 media |= (inw(ioaddr + CONFIG) & CFG_AUI_SELECT) ? 2 : 1; in media_check()
2007 smc->media.expires = jiffies + 1; in media_check()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dide-scsi.c199 if (drive->media == ide_cdrom || drive->media == ide_optical) { in idescsi_transform_pc1()
240 if (drive->media == ide_tape) { in idescsi_transform_pc1()
269 if (drive->media == ide_cdrom || drive->media == ide_optical) { in idescsi_transform_pc2()
288 if (drive->media == ide_tape) { in idescsi_transform_pc2()
735 media: ide_scsi,
777 u8 media[] = { TYPE_DISK, /* 0x00 */ in idescsi_attach() local
796 if ((!idescsi_initialized) || (drive->media == ide_disk)) { in idescsi_attach()
801 (drive->media == ide_disk) ? "! " : ""); in idescsi_attach()
802 return (drive->media == ide_disk) ? 2 : 0; in idescsi_attach()
807 for (i = 0; media[i] != 255; i++) { in idescsi_attach()
[all …]
/linux-2.4.37.9/drivers/media/
DConfig.in9 source drivers/media/video/Config.in
10 source drivers/media/radio/Config.in
DMakefile15 O_TARGET := media.o
/linux-2.4.37.9/drivers/ide/
Dide-proc.c726 const char *media; in proc_ide_read_media() local
729 switch (drive->media) { in proc_ide_read_media()
730 case ide_disk: media = "disk\n"; in proc_ide_read_media()
732 case ide_cdrom: media = "cdrom\n"; in proc_ide_read_media()
734 case ide_tape: media = "tape\n"; in proc_ide_read_media()
736 case ide_floppy:media = "floppy\n"; in proc_ide_read_media()
738 default: media = "UNKNOWN\n"; in proc_ide_read_media()
741 strcpy(page,media); in proc_ide_read_media()
742 len = strlen(media); in proc_ide_read_media()
Dide.c258 drive->media = ide_disk; in init_hwif_data()
394 if (drive->media == ide_disk) { in ide_dump_status()
569 if (drive->media == ide_disk) in ide_open()
573 if (drive->media == ide_cdrom) in ide_open()
575 if (drive->media == ide_tape) in ide_open()
577 if (drive->media == ide_floppy) in ide_open()
1575 if (drive->media == ide_disk) { in ide_atapi_to_scsi()
1605 if (drive->media != ide_disk) in ide_add_generic_settings()
1671 switch (drive->media) { in ide_attach_drive()
1770 if (!loc || (drive->media != ide_disk && drive->media != ide_floppy)) return -EINVAL; in ide_ioctl()
[all …]
Dide-probe.c200 if (drive->media != ide_cdrom) { in do_identify()
233 drive->media = type; in do_identify()
262 drive->media = ide_disk; in do_identify()
448 if ((drive->media != ide_disk) && (cmd == WIN_IDENTIFY)) in do_probe()
453 drive->name, drive->present, drive->media, in do_probe()
605 if (drive->media == ide_disk) { in ide_probe_for_drive()
609 } else if (drive->media == ide_cdrom) { in ide_probe_for_drive()
785 if (drive->media != ide_disk) in ide_tune_drives()
/linux-2.4.37.9/Documentation/networking/
Ddl2k.txt113 example: insmod dl2k.o media=100mbps_hd
114 or insmod dl2k.o media=3
115 or insmod dl2k.o media=3,2 ; for 2 cards
188 media=media_type - Specifies the media type the NIC operates at.
189 autosense Autosensing active media.
196 0 Autosensing active media.
Dde4x5.txt87 pause whilst the driver figures out where its media went). My tests
97 while autosensing the media should be gone. A bonus for the DC21040
98 auto media sense algorithm is that it can now use one that is more in
146 Where SROM media detection is used and full duplex is specified in the
156 and media. The only lexical constraints are: the board name (dev->name)
162 autosense to set the media/speed; with the following
Dtuntap.txt15 instead of receiving packets from physical media, receives them from
16 user space program and instead of sending packets via physical media
127 media, receives them from user space program and instead of sending
128 packets via physical media sends them to the user space program.
D8139too.txt198 * Support ethtool media interface via generic kernel MII API
261 * Fix chipset wakeup bug which prevent media connection for 8139B
262 * Print out "media is unconnected..." instead of
276 * Disable media timer code to "set full duplex"
317 * Proper media[] array length checking
319 and media checking. Fixes mdio_xxx locking, now mdio_xxx is always
406 * New module option "media" for forcing media selection. Functions the
Dcs89x0.txt67 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5
173 Media Type: Autodetect (3-media cards) or
215 insmod cs89x0.o io=0x200 irq=0xA media=aui
218 address of 200h, interrupt 10, and use the AUI media connection. The following
227 * media=rj45 - specify media type
228 or media=bnc
229 or media=aui
265 media type (no autodetect)
318 ISA bus probing. The IRQ number, media options, etc are determined
568 The 2 and 3-media adapters have two LEDs visible on the back end of the board
[all …]
/linux-2.4.37.9/drivers/ide/pci/
Dalim15x3.c334 if (drive->media==ide_disk) { in ali15x3_tune_drive()
389 (drive->media!=ide_disk))) {
391 (drive->media!=ide_disk)) {
523 if ((m5229_revision<=0x20) && (drive->media!=ide_disk))
576 if ((m5229_revision < 0xC2) && (drive->media != ide_disk))
/linux-2.4.37.9/drivers/net/wan/
Dpc300_drv.c455 if (conf->media == IF_IFACE_T1) { in falc_intr_enable()
528 if (conf->media == IF_IFACE_E1) { in falc_close_all_timeslots()
556 if (conf->media == IF_IFACE_E1) { in falc_open_all_timeslots()
1000 switch (conf->media) { in te_config()
1025 if (conf->media == IF_IFACE_T1) { in te_config()
1064 if (conf->media == IF_IFACE_T1) { in falc_check_status()
1089 if (conf->media == IF_IFACE_T1) { in falc_check_status()
1108 if (conf->media == IF_IFACE_T1) { in falc_check_status()
1135 if (conf->media == IF_IFACE_T1) { in falc_check_status()
1191 if (conf->media == IF_IFACE_T1) { in falc_check_status()
[all …]
/linux-2.4.37.9/Documentation/cdrom/
DMakefile9 `gv -antialias -media letter -nocenter $(LATEXFILE).ps` ;\

12345