Commit Graph

35409 Commits

Author SHA1 Message Date
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
itojun 02bf7fcd13 add wi_detach and friends so that we can hot-swap wi card. 2000-02-12 16:08:04 +00:00
oster edc931efea Make this compile without warnings on alphas.
(Problem noted by Aaron J. Grier)
2000-02-12 16:06:27 +00:00
ragge 918676c04f Remove __BROKEN_CONFIG_UNIT_USAGE. 2000-02-12 16:00:13 +00:00
ragge 539689da9d Remove another unneccessary reference to cf_unit. 2000-02-12 15:58:45 +00:00
ragge c6471e4d9a Remove an unneccessary reference to cf_unit. 2000-02-12 15:48:34 +00:00
augustss 523d157a05 Regen. 2000-02-12 15:02:56 +00:00
augustss a79d73d045 Add Corega FEther adapter. From PR 9394. 2000-02-12 15:02:21 +00:00
shin e9c7fb4c36 change ramdisk size. 2000-02-12 13:48:46 +00:00
pk 19533212a5 Correct comments on KGDB_* entries. 2000-02-12 12:59:36 +00:00
pk b518dc6dfc Eliminate much of the goo in setting up zs device addressing. 2000-02-12 12:51:03 +00:00
tsutsui 980ac3a9eb Fix typo. 2000-02-12 08:52:11 +00:00
enami 01868857df Add activate routine and check device active flag also in one second
tick handler.
2000-02-12 04:05:49 +00:00
enami fbc47bda30 Cosmetic changes. 2000-02-12 03:55:49 +00:00
thorpej 5903e181fa Nuke NKMEMCLUSTERS. 2000-02-12 03:29:18 +00:00
shin 49ac0acd83 delete NKMEMCLUSTERS from configuration files. 2000-02-12 03:21:06 +00:00
mjacob 1b188ee2ff A lot of cleanup and shrinkage. Some items moved to isp_tpublic.h. 2000-02-12 02:33:34 +00:00
mjacob 55a78c1ee4 Add in 12160 (Ultra3) support. Turn back on fast posting for the new
generateion parallel SCSI cards (1240/1080/1280/12160). Split up nvram
reading routines to be more readable. Fix topology reporting- 2200 has
connected topology in mailbox 6 when you're done getting your loop id
(supported: Private Loop (NL Port), N-Port, F-Port, FL-Port). The 2100
doens't report this, but we can synthesize it to be either NL-Port or
FL-Port. Add in some connection mode async events.
2000-02-12 02:32:21 +00:00
mjacob 56e16448ad add in 12160 (Ultra3) related definitions 2000-02-12 02:29:00 +00:00
mjacob 9f63fdeefb add in 12160 (Ultra3) NVRAM definitions 2000-02-12 02:28:32 +00:00
mjacob 87355d841f add some Qlogic 2200 point-to-point and extended ICBOPT definitions 2000-02-12 02:26:26 +00:00
mjacob 50f2620822 add 80 MHz case 2000-02-12 02:25:28 +00:00
mjacob 3f96822c3b some minor cleanups 2000-02-12 02:24:20 +00:00
mjacob 63c56a9de6 add a more public shared i/f to target mode 2000-02-12 02:23:13 +00:00
mjacob 6eba47aa8f add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot 2000-02-12 02:22:37 +00:00
mjacob 29f08cd82d add 12160 (Ultra3) microcode 2000-02-12 02:07:49 +00:00
kleink 3a09830119 printf format mismatch in DEBUG code (related to already fixed PR hp300/9388). 2000-02-11 23:00:47 +00:00
leo d10190a70c Move the ite_default_* variables to ite.c. They are generic ite. 2000-02-11 21:42:52 +00:00
leo 39a8093c78 Remove redundant test. 2000-02-11 21:36:38 +00:00
leo 107405406d Oops! Both grfcc and grfet need the generic grfabs layer. 2000-02-11 21:35:42 +00:00
thorpej dded044fc2 Update for the NKMEMPAGES changes. 2000-02-11 19:25:12 +00:00
thorpej eb9cbbe294 Add some very simple code to auto-size the kmem_map. We take the
amount of physical memory, divide it by 4, and then allow machine
dependent code to place upper and lower bounds on the size.  Export
the computed value to userspace via the new "vm.nkmempages" sysctl.

NKMEMCLUSTERS is now deprecated and will generate an error if you
attempt to use it.  The new option, should you choose to use it,
is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and
NKMEMPAGES_MAX allow the user to configure the bounds in the kernel
config file.
2000-02-11 19:22:52 +00:00
is 9bf09631c6 Only output message on really special DEBUG kernels. 2000-02-11 19:09:56 +00:00
tsubai d696094217 Change ICU_LEN to 64. 2000-02-11 13:15:43 +00:00
itojun 82b005364c don't increase both "no port on broadcast packet" and "no port" stat.
increasing both of them will result in negative number on udp
"delivered" stat on netstat(8), since netstat computes number of delivered
packet by subtracting them from number of inbound packets.
2000-02-11 10:43:36 +00:00
thorpej dc80cc068b Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.

We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM.  However, this change will at
least allow the PR submitter to simply throw resources at the problem.
2000-02-11 07:00:11 +00:00
itojun 5d257be455 make assumption in rt_msg1 (len <= MHLEN + MLEN) explicit.
panic if not satisfied.
2000-02-11 06:11:03 +00:00
itojun 46dfa55555 fix in-kernel packet forwarding loop (till TTL becomes 0) when:
- a packet is delivered to an address X,
- and the address X is configured on my !IFF_UP interface
- and ipforwarding=1

NetBSD PR: 9387
From: nrt@iij.ad.jp
2000-02-11 05:57:58 +00:00
takemura 160bf15b09 Add com0's power control ID. 2000-02-11 03:20:17 +00:00
simonb 2db5581a4c Declare the mcclock_pad32_busfns variable as extern. 2000-02-11 02:36:16 +00:00
oster 255608f126 Add support for a "RAID" partition type. 2000-02-11 02:04:42 +00:00
thorpej 29ae6dbe05 We're given a K1SEG address already. 2000-02-11 01:32:42 +00:00
thorpej 5f9e257c5a Fix a couple of printf format botches. port-hp300/9388, Steve Peurifoy. 2000-02-10 23:02:16 +00:00
aymeric dc0ce1249b fix interrupt handling
I still get lost interrupts on the A1200, but the problem is certainly
elsewhere (not in wdc_amiga).
2000-02-10 15:51:59 +00:00
itojun ff0fe5df65 fix ip4 protosw.
gif interface and gre interface should be able to coexist.
2000-02-10 14:44:28 +00:00
tsubai 1dc2d9d399 Don't display "NetBSD disklabel". This message appears too many times
if more than two or three disks exist.
2000-02-10 12:33:45 +00:00
chopps d8595b9af3 map common memory 8 bit for cis scan when following longlinks. 2000-02-10 09:01:52 +00:00
chopps 44b423d73b always map attr memory 8 bit, since its defined that way. 2000-02-10 09:00:19 +00:00
sato 18452e3667 - add GPIO related comments.
- add IBM WorkPad z50 buttons.
2000-02-10 08:45:44 +00:00
sato 709f6f50a2 show edge/level infomation in attach message. 2000-02-10 08:37:07 +00:00
sato e19b30ff0a delete \n in cpu_model. 2000-02-10 08:34:08 +00:00
mjacob 9621e6be50 Reset maxstray count if we get a good interrupt for a level. 2000-02-10 07:45:43 +00:00
mjacob 13e13336b2 Allow (re)setting of maxstrays after establishment of a shared interrupt.
This allows sporadic stray interrupt counts to be reset by an acknowledgement
of the same interrupt.
2000-02-10 07:45:02 +00:00
mjacob 4821b5ae2f Guard against trying to disable an interrupt where we'd dereference a
bad pointer.
2000-02-10 04:31:36 +00:00
sato 1dd1e143a9 add machine model name to cpu_model. 2000-02-10 02:15:01 +00:00
sato 549e292ae4 update MINYEAR. 2000-02-10 02:06:16 +00:00
sommerfeld d129ec5214 Fix typo in error message 2000-02-09 23:25:15 +00:00
aymeric a10113c83a fix a couple of things to (hopefully) make this work on the A1200 2000-02-09 22:27:20 +00:00
joda d40e2b51ee add detach code 2000-02-09 22:15:57 +00:00
sommerfeld 39db0e9c7e Three MULTIPROCESSOR + LOCKDEBUG fixes:
1) fix typo preventing compilation (missing comma).
2) in SLOCK_WHERE, display cpu number in the MP case.
3) the folowing race condition was observed in _simple_lock:
	cpu 1 releases lock,
	cpu 0 grabs lock
 	cpu 1 sees it's already locked.
	cpu 1 sees that lock_holder== "cpu 1"
	cpu 1 assumes that it already holds it and barfs.
	cpu 0 sets lock_holder == "cpu 0"
Fix: set lock_holder to LK_NOCPU in _simple_unlock().
2000-02-09 16:46:09 +00:00
enami e00270524e ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3. 2000-02-09 15:40:23 +00:00
enami 67bc20747a Support Xircom CompactCard Ethernet CFE-10. 2000-02-09 14:54:53 +00:00
enami 99f529f0b3 - Since all resources are mandatory, no need to manage individually.
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
takemura 968822bd48 The pwctl writes ZERO as on if active=0. 2000-02-09 14:39:06 +00:00
enami dc87f2899f - No need to keep track enable/disable state here. The smc91cxx.c also
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami 94a6dd9169 Regen. 2000-02-09 13:33:22 +00:00
enami 947c0fee74 Add an entry for Planex FNW-3700-T. 2000-02-09 13:32:23 +00:00
enami e729d284ad Add an entry for Melco LPC3-TX. 2000-02-09 13:20:55 +00:00
tsubai 502ad73200 Add wsfont options. 2000-02-09 13:10:15 +00:00
tsubai dcb9f03bd3 Use dev/rasops instead of dev/rcons. 2000-02-09 13:08:35 +00:00
enami e92b285eaf Add an entry for Xircom CompactCard Ethernet CFE-10. 2000-02-09 13:07:45 +00:00
takemura 0694de05ed Fix Work Pad z50's entry. 2000-02-09 13:03:31 +00:00
tsubai 0867c09dad Change va_arg definition when __lint__ is defined. 2000-02-09 12:54:47 +00:00
itojun 19e9558eaf sync with extended scoped address syntax change. 2000-02-09 12:27:03 +00:00
sato ad591b78f4 CLOCK_RATE: 256-> 128.
reduce timer interrupts because hpcmips machines are lower cpu power.
2000-02-09 10:41:18 +00:00
nisimura 9fb475bc29 Missing commit to reflect ioasicreg.h merge. 2000-02-09 08:37:43 +00:00
nisimura 43917001c7 - Add missing "opt_ddb.h" to dc.c and dtop.c (oh, boy)
- Nuke irrelevant "dcvar.h" and "tc.h" inclusion from dc.c
- Put '#if NRASTERCONSOLE > 0' around scc_lk201_cnattach().
2000-02-09 08:29:40 +00:00
itohy 0a1d6b1357 Make it compile with options DEBUG.
Reported by Kawamoto Yosihisa (PR #9379).
2000-02-09 07:57:52 +00:00