Commit Graph

35325 Commits

Author SHA1 Message Date
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