Commit Graph

60005 Commits

Author SHA1 Message Date
hubertf 549295852e -current's gcc seems to be a bit picky about using pointer-differences as
args to the "*" of a printf "%*.*s" pattern. Add some casts to int.
(At least on NetBSD, ptrdiff_t is typedef'ed to int anyways)
2000-01-25 17:21:07 +00:00
augustss 0acef2fd69 Allow the set of PCI irqs to be overridden. 2000-01-25 17:20:47 +00:00
sommerfeld 62224d5f23 Pick source address for ICMP errors a bit more intelligently when
there are multiple addresses on the interface.

From Marc Horowitz <marc@netbsd.org>, who left this sitting for too long.
2000-01-25 17:07:56 +00:00
aymeric 3d9809edd8 oops. Comment out #include "wd.h" as I didn't commit generic wdc code yet. 2000-01-25 17:02:43 +00:00
itojun 9d17b2ca6a bring in stabilization codes in freebsd PAO/bsdi cnw driver.
- link integrity bit check.
- don't send too many packets, add some delay between them (this one is
  not enabled by default - try it if you see performance problem on
  heavy traffic)
2000-01-25 16:48:47 +00:00
enami 6e75e4cb47 - Don't update the size of allocated storage until realloc successes.
- KNF left over.
2000-01-25 16:24:40 +00:00
sommerfeld 0cd03c86b4 Fix use of -I and -P at the same time by refactoring so there's only
one set of code which knows how to resize the packet.
Report when we shrink MTU because of an EMSGSIZE return; fix
formatting to let this not look ugly.
Add a few likely MTU's to the table (1480 and 1280).
2000-01-25 16:24:32 +00:00
itojun 4978f056f6 better sync with #ifdef notdef part (in -i for AF_INET). 2000-01-25 16:07:13 +00:00
enami 7209b41f18 - Kill the very last reference to VNODEPAGER, SWAPPAGER and DEVPAGER.
- Remove empty lines at the end of file.
- The traditional hack, options<SPC><TAB>.
2000-01-25 16:07:12 +00:00
itojun 5fa65dbb58 don't truncate IPv4 entries on -i (with -v). it is mainly for
"Network" column (13 digits, it will be 18 digits in maximum).
2000-01-25 15:56:55 +00:00
thorpej c02060ba9b Regen. 2000-01-25 15:44:21 +00:00
thorpej d1c481fc31 Fix a typo. 2000-01-25 15:43:59 +00:00
enami 086a35e065 Use tab to indent. 2000-01-25 15:43:43 +00:00
mycroft e33c595472 Do a CARDBUS_BM_ENABLE just to be sure. 2000-01-25 15:29:43 +00:00
tsubai 14bc6c9eb8 Add PHYs. 2000-01-25 14:43:49 +00:00
tsubai 6b26a49ee9 Use MII device layer.
XXX still 100Mbps receive side is very slow...
2000-01-25 14:38:39 +00:00
joda 492bfe70f3 get the device name from pcidevs instead of having a list here 2000-01-25 14:34:24 +00:00
augustss 0335569abc Make it compile even if you leave out the ucom attachment. 2000-01-25 13:56:23 +00:00
augustss a27ee91364 Remove an item. 2000-01-25 13:27:07 +00:00
enami a119cb3677 In the diagnostic check in config_detach, inform the name of parent and
its child who shouldn't be exist.
2000-01-25 13:23:26 +00:00
enami 2486935741 Use .Ar macro for argument. 2000-01-25 13:06:51 +00:00
augustss b29a1709da Add a line about USB Ethernet adapters. 2000-01-25 12:15:32 +00:00
hubertf 4a961a7fc3 some code cleanup 2000-01-25 12:09:19 +00:00
augustss f0ebd281e5 Add done method for root control transfers. 2000-01-25 12:06:21 +00:00
augustss 73ce2abd33 Make sure PIRQD enable bit is set. From FreeBSD. 2000-01-25 11:26:06 +00:00
haya dccf05f858 Do pccbb_chipinit() after YENTA register space allocation.
Add TI PCI 1451 PCI-CardBus entry.
2000-01-25 09:36:43 +00:00
enami b1f85ee905 Don't put leading space, otherwise diskerr() prints unnecessary space
like this:
wd0h:  aborted command reading fsbn 650256 of 650256-650271 (wd0 bn 839056; cn 888 tn 13 sn 17), retrying
2000-01-25 09:33:12 +00:00
pk 855fe23671 Prevent possible wayward loop. 2000-01-25 09:30:00 +00:00
enami 65c138fea0 - Print a name of root device even if it is a network device.
- If RB_ASKNAME, only dumpdv holds the results asked interactively.
  Examie dumpspec only when !RB_ASKNAME.  This allows us to override
  dumps on none in kernel config file by booting kernel with RB_ASKNAME.
- Slightly rearrange code so that it more matches to comment.
2000-01-25 09:23:59 +00:00
enami 5cb9984dd0 Replace long delay with sleep. 2000-01-25 09:17:35 +00:00
enami 012a23a770 Use config_pending and let the kernel thread to attach a card even on boot. 2000-01-25 09:14:27 +00:00
haya f18e32d670 Regen. 2000-01-25 09:06:50 +00:00
haya 7b4d7aaba1 Add TI PCI 1451 PCI-CardBus bridge. 2000-01-25 09:04:03 +00:00
augustss beaf3d82fc Ooops, add another ucom file. 2000-01-25 08:46:00 +00:00
augustss 6cd67182f5 Add ucom(4) man page. 2000-01-25 08:45:24 +00:00
augustss 85fcd0b58d Update for the ucom(4) addition. 2000-01-25 08:31:56 +00:00
augustss a2b1ac707a Split the umodem driver into two parts: the part that emulates a tty over
two bulk pipes, and the setup and status fiddling goo.
This allows the former part to be shared by other drivers that need to
look like a tty.
2000-01-25 08:12:58 +00:00
mycroft 509c38cc44 Regen. 2000-01-25 08:07:14 +00:00
mycroft 6a4d06f322 Use the Ethernet vendor ID to differentiate multiple cards with the same
vendor,product pair.  (Yuck.)
2000-01-25 08:06:49 +00:00
tsubai 05ceaaaad5 Add UniNorth. 2000-01-25 07:19:11 +00:00
lukem dfee5c0f62 crank version 2000-01-25 07:14:11 +00:00
lukem 61d86056a0 work around bug in apache 1.3.9 which incorrectly puts a trailing
space after the chunksize.
noted by Jun-ichiro itojun Hagino <itojun@itojun.org> in [bin/9096]
2000-01-25 07:13:45 +00:00
jlam 03ebb087f7 Regen. 2000-01-25 06:53:26 +00:00
jlam 4d836ce7f2 Fix product code for Aironet PC4800. Should be 0x0007. 2000-01-25 06:52:54 +00:00
lukem ec9eefea83 be harsher about workaround 2000-01-25 06:45:18 +00:00
chopps b5064330de The cfe is initialized to the default entry, when a table entry value
is present don't OR in the flags with the defaults, replace them.
2000-01-25 06:36:17 +00:00
chopps b50b01e020 Don't enable the interrupt until after we cycle the power, disable
interrupt at disable, and make this code look more like the std pcic
code.  From Mycroft and I.
2000-01-25 06:16:34 +00:00
mycroft 3d237fafa8 Fix a buglet that caused media-specific options to *always* be printed, even if
they were not set.
2000-01-25 06:11:25 +00:00
lukem 852392d00d work around lame ftpd's that don't return a correct post-Y2K date in
the output of `MDTM'.

obviously the programmer of aforementioned lame ftpd's did something like
	"19%02d", tm->tm_year
instead of
	"%04d", tm->tm_year + TM_YEAR_BASE

fixes [bin/9289] by jbernard@mines.edu
2000-01-25 06:11:00 +00:00
chopps 8c090e4862 set havenet to 0 when we are switching between operating modes and only
after association in ifrastructure mode.  Also, deal with roam start
and rejoin net commands.
2000-01-25 05:32:28 +00:00