Commit Graph

35486 Commits

Author SHA1 Message Date
tsubai
e7edda84b7 Remove vmparam.h. 2000-02-18 08:50:25 +00:00
nisimura
eb30f016ae Group and reorder old SCSI driver descriptions into a single
location.   Nuke files.scsipi inclusion which has never been useful.
2000-02-18 08:41:21 +00:00
mycroft
fec6c976f3 Make the z50 tab key work. 2000-02-18 06:54:47 +00:00
nisimura
3e02ded337 Improvement on SFB enabled copycol(); still yet under development,
it miserably fails on corner cases.
2000-02-18 06:51:51 +00:00
itojun
83176f3b3c fix alignment problem in ancillary messages (alpha).
the change constitutes binary compatibility issue hen sizeof(long) !=4.
there's no way to be backward compatible, and only guys affected
are IPv6 userland tools.

From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-18 05:19:23 +00:00
mycroft
c9f3b6ba01 Adjust previous change for R3000 load delay slot. 2000-02-18 03:46:43 +00:00
mycroft
71979ea6fb Make the MIPS1 and MIPS3 code more similar.
XXX Needs testing on MIPS1.
2000-02-18 00:15:15 +00:00
mycroft
9e77fba716 Take a whack at allowing sN, sp and gp to be set from DDB, too. 2000-02-18 00:02:43 +00:00
mycroft
3ade108e4b Allow vN, aN, tN, ra, sr, mul[lo,hi] and pc to be set from DDB. sN requires
more work.
2000-02-17 23:52:23 +00:00
mycroft
c41cbbb8b7 Fix obvious typo. 2000-02-17 22:16:31 +00:00
sommerfeld
a00eb27e1a More 802.11 subtypes: there's also 1MB/s DS
(the BayStack 660 firmware claims to support it).
2000-02-17 21:53:16 +00:00
mycroft
760d110b96 Regen. 2000-02-17 21:31:39 +00:00
mycroft
b95959c4c8 Give platid_name_table_size a type. 2000-02-17 21:31:13 +00:00
thorpej
132107ce3b Add a whole slew of registers found in the PCnet-PCI family. 2000-02-17 20:18:29 +00:00
augustss
6fa8665eeb Handle detach that happens before attach has finished. (Reported by mycroft.) 2000-02-17 18:42:21 +00:00
sommerfeld
50c84950f2 awi: rewrite to be higher performance. 2000-02-17 17:37:23 +00:00
augustss
1955c335af Regen. 2000-02-17 16:30:44 +00:00
augustss
536b31a5c8 Add Sony PCGA-UMS1 mouse. 2000-02-17 16:30:11 +00:00
sommerfeld
7adb22cfa5 Add detach support.
Light cleanup.
2000-02-17 15:58:32 +00:00
abs
7ff31fc326 Update patch from Witold Wnuk in PR 9335 to solve potential security
issue noted by tls.
2000-02-17 12:34:26 +00:00
darrenr
12636d3570 bump __NetBSD_Version__ due to change in protosw for pfil 2000-02-17 11:41:59 +00:00
darrenr
a156f44da6 bump __NetBSD_Version__ due to change in protosw for pfil 2000-02-17 11:01:20 +00:00
darrenr
fd7edad6c3 Change the use of pfil hooks. There is no longer a single list of all
pfil information, instead, struct protosw now contains a structure
which caontains list heads, etc.  The per-protosw pfil struct is passed
to pfil_hook_get(), along with an in/out flag to get the head of the
relevant filter list.  This has been done for only IPv4 and IPv6, at
present, with these patches only enabling filtering for IPPROTO_IP and
IPPROTO_IPV6, although it is possible to have tcp/udp, etc, dedicated
filters now also.  The ipfilter code has been updated to only filter
IPv4 packets - next major release of ipfilter is required for ipv6.
2000-02-17 10:59:32 +00:00
mycroft
f7ad1af2b5 Use bpf_mtap() correctly. 2000-02-17 05:41:41 +00:00
itojun
de10c7425e backout incomplete hack from KAME codebase (originally from bbn).
the hack tries to respect ifa or ifp passed to RTM_ADD.  However, the change
broke certain link-layers.  They include:
- midway ethernet card (en*), which uses sockaddr_dl in gateway portion
  to pass PVC information.  with the patch, the gateway portion will be
  overwritten by empty sockaddr_dl and PVC initialization will fail.
- IPv6, which can't set static ND table with the patch (ndp -s), for the
  similar reason as above.

There may be improved hack coming soon, hope the new one does not break others.
2000-02-17 04:28:00 +00:00
ender
f30d8c9d30 Include mac68k/dev/akbdmap.h, not macppc/dev/akbdmap.h. Fixes PR 9435
filed by Dave Huang <khym@bga.com>.
2000-02-17 02:07:07 +00:00
thorpej
d87b838524 Fix TMASK to use all 5 lower bits of the media word, and add HomePNA 1.0. 2000-02-16 18:03:14 +00:00
tsutsui
1da0c062ce Make sure access of ssir atomic. (from luna68k) 2000-02-16 15:32:03 +00:00
tsubai
a6343f76db Unused. (PR 9424) 2000-02-16 14:02:13 +00:00
itojun
729f693364 - if ip_dst matches address on !IFF_UP interface, and
- there's no match against addresses on IFF_UP interface,
send icmp unreach if I'm router.  drop it if I'm host.

Revised version of PR: 9387 from nrt@iij.ad.jp.  Discussed with thorpej+nrt.
2000-02-16 12:40:40 +00:00
itojun
791a70292c correct ratecheck() signedness. without this fix, ratecheck() will never
success again after first success with lasttime=(0,0).
2000-02-16 12:36:19 +00:00
fvdl
c13f6dd258 Introduce a sysctl to enable/disable if non-root users can mount filesystems.
Default: off.
2000-02-16 11:57:45 +00:00
fvdl
c59358ebde Add sysctl type for "usermount". 2000-02-16 11:57:00 +00:00
soren
4331d2bcaa Regen. 2000-02-16 04:29:32 +00:00
soren
021ff75015 Add Toshiba ISA bridge. 2000-02-16 04:29:20 +00:00
oster
7deba340d7 Some of these function names are bad enough that no one else would probably
pick them, but preface them with rf_ anyway.
2000-02-16 01:10:44 +00:00
thorpej
b178e1f58c Add support for rate-limiting RSTs sent in response to no socket for
an incoming packet.  Default minimum interval is 10ms.  The interval
is changeable via the "net.inet.tcp.rstratelimit" sysctl variable.
2000-02-15 19:54:11 +00:00
nathanw
971144c47f Add ess at pnpbios 2000-02-15 17:14:50 +00:00
nathanw
558d216998 Add pnpbios front end for ESS AudioDrive. 2000-02-15 17:12:54 +00:00
pk
52014b23c5 Allow second-stage boot program to be specified on the command line. 2000-02-15 16:15:07 +00:00
pk
59742052ea Determine base address at run time. 2000-02-15 14:09:59 +00:00
pk
9bb753bb2e Nuke unused code. 2000-02-15 12:18:05 +00:00
leo
141900755f Nuke the local outc() since the prototype for the second argument of tputs()
now matches putchar().
2000-02-15 10:14:55 +00:00
leo
8d6a7f1861 Grabage collect a 'struct buf *' left over from recent disksort changes. 2000-02-15 09:00:07 +00:00
thorpej
f3b975e9a4 Add ICMP error rate limiting, based on the same for ICMP6.
Note, we're reusing the previously unused slot for "MTU discovery" (which
was moved to the "net.inet.ip" branch of the sysctl tree quite some time
ago).
2000-02-15 04:03:49 +00:00
itojun
800897b12f make assumption on mbuf explicit (m->m_len >= sizeof (struct ip)). 2000-02-15 00:42:22 +00:00
thorpej
d2bccc29d8 Fix a couple of brainos in the last. 2000-02-15 00:31:08 +00:00
enami
4a1320b29f Put the entry of FNW-3700T after the entry of SVEC-PN650TX
so that SVEC-PN650TX errornously recognized as FNW-3700T.
Pointed out by Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-02-14 23:13:49 +00:00
fvdl
fe39281ea4 Fixes to the softdep code from Ethan Solomita <ethan@geocast.com>.
* Fix buffer ordering when it has dependencies.
* Alleviate memory problems.
* Deal with some recursive vnode locks (sigh).
* Fix other bugs.
2000-02-14 22:00:21 +00:00
thorpej
fd8c03cf44 Allow arch-specific code to specify in4_cksum() like it can specify
in_cksum().
2000-02-14 21:42:50 +00:00
fvdl
15c201069b Change ratecap to its presumably intended type of struct timeval. 2000-02-14 21:17:04 +00:00
augustss
b223c00cee Avoid linker error if no PHY is attached. 2000-02-14 20:29:54 +00:00
is
a90153e264 enlarge the initial kernel page table - needed for some 128 MB machine 2000-02-14 20:23:20 +00:00
thorpej
445e42d77a One small piece from UBC: create a pool for I/O buffers. One small piece
not from UBC: make physio use it instead of its own home-grown thing.
2000-02-14 20:12:02 +00:00
thorpej
144759ef2b Use ratecheck() for ICMP6 rate limiting. 2000-02-14 19:45:50 +00:00
thorpej
2649d26c0e Use ratecheck(). 2000-02-14 19:28:19 +00:00
pk
72252544f5 remove `flags' from sun4 zs declarations; the driver doesn't use it. 2000-02-14 18:08:38 +00:00
pk
5b285d9509 Just skip matching the slave' property against cf_unit'. 2000-02-14 18:07:37 +00:00
pk
1d373a94e2 Bump receive buffer size up to the maximum DMA burst boundary. 2000-02-14 17:14:28 +00:00
pk
a1b5434cec Make promiscuous mode go again. 2000-02-14 17:06:45 +00:00
tsubai
0b8b55beaf Add uninorth. Now iMac DV and Power Macintosh G4 should run NetBSD. 2000-02-14 14:57:52 +00:00
tsubai
2750c23cdd Add minimal support of openpic. 2000-02-14 12:45:52 +00:00
bouyer
085f44145c - Be more strict in status check before sending a command (make sure
DRQ is not asserted). Closes kern/9346.
- Change the "fake identify before the real one" by a delay(). The real cause
  of the problem is that the drive is unresponsive just after a reset.
  The real problem (and the solution) showed up after the first change.
2000-02-14 12:37:35 +00:00
scottr
042be92f6f Update for wscons. 2000-02-14 08:58:41 +00:00
scottr
2071e61796 Update for wscons. 2000-02-14 08:48:08 +00:00
jun
14af97fa26 add Sharp HC-1200 2000-02-14 07:22:19 +00:00
jun
2d09174cce regen. 2000-02-14 07:19:25 +00:00
scottr
8a00740789 Merge wscons work onto the main development branch. 2000-02-14 07:01:44 +00:00
jun
f009580118 add Sharp HC-1200 2000-02-14 06:55:36 +00:00
augustss
9558d7b27b Regen. 2000-02-13 23:10:22 +00:00
augustss
a39279da39 Add a bunch of devices. 2000-02-13 23:10:02 +00:00
tsubai
2aafd71ec7 Reduce NKMEMPAGES_MAX_DEFAULT. 2000-02-13 17:01:47 +00:00
ragge
520d8c032e Waked up from the dead 2000-02-13 13:01:14 +00:00
tsubai
90fe757934 Fix typo in comment. 2000-02-13 10:25:07 +00:00
itojun
99b18eac36 on attach, check if we've got meaningful mac address or not,
to detect io mapping problem.

on detach, handle resource deallocations more carefully.
2000-02-13 06:17:58 +00:00
tsutsui
2a3b53a229 Remove __BROKEN_CONFIG_UNIT_USAGE.
This has been fixed on news1200 merge.
2000-02-13 05:40:36 +00:00
mark
068fcab81e Enable rl ethernet device.
General tidy up.
2000-02-13 05:26:04 +00:00
mark
f43601877b Remove __BROKEN_CONFIG_UNIT_USAGE. 2000-02-13 05:20:45 +00:00
mark
d97d3dc6a5 Enable rl ethernet device and do some general cleaning up. 2000-02-13 05:19:40 +00:00
mark
7ef62e2b59 Remove unncessary cf_unit usage.
Make sure we only attach 1 of these devices.
2000-02-13 05:00:57 +00:00
mark
9316cea99d Remove unnecessary cf_unit usage. 2000-02-13 04:59:57 +00:00
oster
919df6690a Add support for / on RAID. A bit of a gross hack, but sufficient for now.
Note that this doesn't help you much until the RAID autoconfig code
in sys/dev/raidframe/rf_netbsdkintf.c is turned on.
2000-02-13 04:57:44 +00:00
oster
445591e874 Get recent changes into the tree:
- make component_label variables more consistent (==> clabel)
- re-work incorrect component configuration code
- re-work disk configuration code
- cleanup initial configuration of raidPtr info
- add auto-detection of components and RAID sets (Disabled, for now)
- allow / on RAID sets (Disabled, for now)
- rename "config_disk_queue" to "rf_ConfigureDiskQueue" and properly prototype
in rf_diskqueue.h
- protect some headers with #if _KERNEL  (XXX this needs to be fixed properly)
  and cleanup header formatting.
- expand the component labels (yes, they should be backward/forward compatible)
- other bits and pieces (some function names are still bogus, and will get
changed soon)
2000-02-13 04:53:57 +00:00
thorpej
9671588a30 Allocate the page buckets out of kernel_map, not kmem_map. Saves 16
or so kmem_map pages on a 32MB SPARCstation 2.
2000-02-13 03:34:40 +00:00
kristerw
952281e8fb Fixed a bug in the ATR parsing; If TA(i) was absent, then TA(i+1) was
used as TA(i) (and similary for TB(i) and TC(i))
2000-02-13 01:31:22 +00:00
augustss
0b2e81991d Avoid panic when a non-working hub is detached. 2000-02-12 23:44:16 +00:00
enami
84b6105bbe Check if device is active in wi_intr and wi_inquire. 2000-02-12 23:35:28 +00:00
kristerw
8ff64870d4 The T0 byte must not be included in the TCK calculation (ISO/IEC 7816-3
chapter 6.4.5)
2000-02-12 22:40:12 +00:00
ad
fc8ea8f0c5 Misplaced #endif. 2000-02-12 22:06:54 +00:00
augustss
d3fb7161d2 Regen. 2000-02-12 22:02:01 +00:00
augustss
b4fac8c7d0 Add Microsoft Internet Keyboard Pro. 2000-02-12 22:01:31 +00:00
ad
59748e7e55 Fix the unaligned accesses discovered by dbj. 2000-02-12 21:58:58 +00:00
thorpej
09943f0ffa G/c references to VM_KMEM_SIZE. 2000-02-12 20:57:12 +00:00
chopps
53e6733789 awi is an 8-bit only card, so set the 8bit flag. 2000-02-12 19:58:35 +00:00
thorpej
1268cc5d6c If we got an xfer from our backlog queue, don't allow sleeping; we're in
interrupt context.

XXX This is fixed properly in the thorpej_scsipi branch, but that won't
be ready for 1.5, I don't think.
2000-02-12 19:12:52 +00:00
thorpej
fc72b13d27 Const poison. 2000-02-12 19:05:55 +00:00
thorpej
fd4ed9b425 Typo (Thanks, Havard :-) 2000-02-12 18:00:00 +00:00
thorpej
46f7b67929 Small cosmetic change, and note a place where a statistic should be
gathered.
2000-02-12 17:45:44 +00:00
thorpej
312cb38ccb In the tcp_input() path:
- Filter out multicast destinations explicitly for every incoming packet,
  not just SYNs.  Previously, non-SYN multicast destination would be
  filtered out as a side effect of PCB lookup.  Remove now redundant
  similar checks in the dropwithreset case and in syn_cache_add().
- Defer the TCP checksum until we know that we want to process the
  packet (i.e. have a non-CLOSED connection or a listen socket).
2000-02-12 17:19:34 +00:00
ragge
8e114c7994 Nuke unused variable. 2000-02-12 16:09:33 +00:00