Commit Graph

28 Commits

Author SHA1 Message Date
perry 93124077ae Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
is a284d19884 As discussed on tech-net: don't suppress any PHYs to enable multiple
external PHYs. The internal PHY at MII (nr 31) will be the last instance,
so it won't be the default instance when external PHYs are present.
2005-05-07 09:15:44 +00:00
perry f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
thorpej e9818f5b5e When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
2004-10-30 18:08:34 +00:00
thorpej d17a849385 Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
christos 125ccd91b1 Fix uninitialized variable warnings 2003-10-25 18:29:12 +00:00
matt 3642aa4ccc Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it).  From John Gordon.
2003-10-19 03:32:25 +00:00
jdolecek 98a5f82f01 add rnd hooks 2003-07-21 08:38:56 +00:00
jdolecek 3f1816bf46 sprinkle some const qualifiers 2003-03-30 19:20:37 +00:00
tsutsui 238efe4697 Replace magic numbers for power management control with PCI_PMCSR* macros.
XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
2002-12-23 02:58:36 +00:00
perry 43ed640ca5 fix lint warnings about things being stringified under cpp -traditional 2002-10-23 01:50:11 +00:00
thorpej 3e6493c448 Fix typos in media configuration register init. From patch posted
to tech-kern by Erik Anggard <erik.anggard@packetfront.com>.

May address PR 16346.
2002-10-22 16:13:44 +00:00
fair 2104199dc3 Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK
so that it is possible select PHY instances other than the first
one (instance zero), if there is more than one PHY attached.
2002-10-21 23:38:10 +00:00
thorpej b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej 387fc6dc87 Use CFATTACH_DECL(). 2002-09-30 20:37:04 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
thorpej 467482eee8 Add support for memory-mapped PCnet-PCI chips. 2002-09-04 01:36:07 +00:00
thorpej 0cb8f6797b Fix a typo which caused the wrong register to be updated when
the media is not full-duplex.
2002-08-02 01:12:32 +00:00
thorpej 317ab784d9 Bump the number of Tx DMA segments from 8 to 16 (the zero-copy socket
code sometimes sees more than 8).
2002-05-03 00:07:02 +00:00
nisimura 5060825752 DANAS (disable autonegotiation) bit of BCR32 takes its effect when
set, not cleared.
2002-01-29 04:45:47 +00:00
thorpej 33bfd7be53 Fix typo in copyright notice. 2001-11-29 17:15:44 +00:00
onoe afdb23ddea Set ONES (must be ones) bits in tmd1 of tx descriptors.
This fix avoids VMware 3.0/WinXP to crash.
2001-11-27 13:49:03 +00:00
lukem 9048aaae21 add RCSID 2001-11-13 07:48:40 +00:00
enami 26ea33d355 Fix an obvious typo found while reading the source. 2001-09-02 13:17:54 +00:00
thorpej 14f612c5b3 - Swap the bytes OR'd into init_ladrf[], for big-endian machines.
- Make sure to sync the init block.

Pointed out by Izumi Tsutsui.
2001-08-28 15:22:30 +00:00
thorpej fdb02063d2 Print "auto-FDX" for the second "autoselect" instance. Pointed out
by Izumi Tsutsui.
2001-08-28 14:15:18 +00:00
thorpej 1930fec887 New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.
2001-08-27 19:42:18 +00:00