erh
6ac8255360
This is a fragment of the network soft interrupt routine in MD code. DONETISR should be defined to do the appropriate thing for each port before including this. This file is to keep the available NETISRs the same across all ports.
2000-02-21 20:36:14 +00:00
erh
fa88d200cf
Remove NETISR_IMP. Make NETISR_ARP == AF_ARP, renumber NETISR_PPP to allow this.
2000-02-21 20:31:02 +00:00
dbj
8f2d14fbd1
added wmesg argument to pcic_delay debug printout
2000-02-21 20:16:22 +00:00
dbj
f4f446cf2c
include dev/isa/isareg.h instead of redefining IOM_BEGIN, IOM_END
...
and IOM_SIZE for ISA memory mapping kludge
2000-02-21 20:06:08 +00:00
mjacob
7f44584598
clen up some error messages
2000-02-21 19:18:53 +00:00
aymeric
77292e79c6
fix a couple of things to handle interrupts more cleanly on the A1200
2000-02-21 18:27:49 +00:00
pk
dd6a9d86b0
SUN_BOOTPARAM compile-time option is no longer used.
2000-02-21 15:13:11 +00:00
pk
f89828d99f
bootxx links at 0x340000
...
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)
2000-02-21 15:07:32 +00:00
pk
ea0dbfe79c
RELOC -> RELOC_DEFAULT
2000-02-21 14:44:18 +00:00
pk
8305907589
Build several versions of the second-stage boot program, each linked
...
to run at a different base address. Boot image build procedures can
pick one which is least likely to fail..
The default boot program is again build to run at 0x340000.
2000-02-21 14:41:22 +00:00
shin
26f41e8f13
support non-contiguous memory.
...
patch from Mycroft <root@ihack.net> and uch@netbsd.org .
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
2000-02-21 13:46:02 +00:00
nisimura
3c0d53280b
Fix scsi.pmax inclusion mistakenly commented out.
2000-02-21 06:44:24 +00:00
scottr
5bc9da0d51
Correct some temporary confusion between the IOPs and the OSS: move
...
IOP init back to mac68k_init(). We'll deal with the OSS later.
2000-02-21 05:50:14 +00:00
sommerfeld
ec2327108e
On MP, print cpu number prior to prompt
2000-02-21 05:48:56 +00:00
scottr
45ac4c3122
Use constants defined in viareg.h to set value of VIA2.
2000-02-21 05:36:11 +00:00
mjacob
296fbeed2a
Patches from msouth@scruz.net to handle QIC 3220 (HP T20).
2000-02-21 05:11:09 +00:00
scottr
17a313075f
Correct some temporary confusion between the IOPs and the OSS: move
...
IOP init back to mac68k_init(). We'll deal with the OSS later.
2000-02-21 04:08:21 +00:00
enami
158df7b6f1
Don't establish an interrupt if attach is in progress. Anyway, current wdc
...
and its children doesn't require interrupt on attach.
2000-02-21 03:55:22 +00:00
enami
91026fe7f2
Cosmetic changes.
2000-02-21 03:26:41 +00:00
scottr
5c7674d4dd
Explicitly include headers needed by iopreg.h
2000-02-21 02:04:48 +00:00
chs
6ba0786ed1
several fixes:
...
1. in pmap_steal_ptp(), don't trylock the pmap that wants a ptp,
the caller already has it locked.
2. do not panic in pmap_enter() due to memory allocation failures when
the PMAP_CANFAIL flag is given. to this end, move all such panics
from the lower-level routines to pmap_enter() and pmap_growkernel()
where we can check for this flag.
3. add #ifdef DIAGNOSTIC around all panics which are only reachable
if there's a bug or a hardware error.
2000-02-21 02:01:24 +00:00
scottr
eb17197dee
Initialize VIA/IOP/PSC from intr_init(). While here, re-order headers
...
to match KNF.
2000-02-21 01:51:37 +00:00
scottr
806c8c15e0
Initialize VIA/IOP/PSC from intr_init().
2000-02-21 01:48:49 +00:00
thorpej
70bbb1b84e
Sync PCMCIA memory mapping with a change from rev 1.47 of i82365.c:
...
always map attr memory 8 bit, since its defined that way. (chopps)
2000-02-21 01:44:36 +00:00
scottr
ab647533a1
Bracket disabled IIfx IOP code with #ifdef __notyet__, rather than
...
commenting it out or using #if 0.
2000-02-21 01:20:55 +00:00
sommerfeld
3a76270201
deal with a DELAY vs. delay issue
2000-02-20 22:19:29 +00:00
groo
024d345241
Add ability to customize I/O region and DAC offset based on pnpbios idstr.
...
Add CSC0000 id from Dell Latitude CPi.
2000-02-20 22:03:49 +00:00
soren
7fffbf8679
Add a few links to documentation.
2000-02-20 21:42:26 +00:00
mjacob
a3a129e6f5
Oops...I forgot that the GEM-2 chip is so lame that if you don't tell
...
it exactly the right amount of data to transfer for WRITE BUFFER/Global
it will stay stuck in command phase (causing a command phase overrun).
2000-02-20 21:30:44 +00:00
sommerfeld
cd14e5fa0c
Add a fifth "divisor" argument to humanize_number; suitable values are
...
either 1024 or 1000.
Needed because frequencies use decimal rather than power-of-two SI
prefixes.
2000-02-20 19:32:28 +00:00
minoura
077b93be1a
According to Takeshi Nakayama <tn@catvmics.ne.jp>,
...
POW_ALARMSW seems always 1 on some models (at least XVI).
2000-02-20 16:18:51 +00:00
jdolecek
5f0b3b1510
usbd_devinfo_vp(): search the know devs array also if the device
...
doesn't return product description (e.g. Kye's Genius NetScroll
mouse returns vendor, but not product); the strings
returned by device are still preferred to those in the array, though
2000-02-20 14:45:05 +00:00
jdolecek
6b93b03665
regen
2000-02-20 14:39:28 +00:00
jdolecek
e710e0dfa1
Add Kye's Genius NetScroll mouse
...
XXX Should the name be just "NetScroll mouse" ? Kye seems to be manufacturer
XXX for the mouse licenced from Genius.
2000-02-20 14:37:48 +00:00
mjacob
1c4521f1da
add ses.h to list of includes
2000-02-20 07:39:41 +00:00
mjacob
c5f8d33f85
minor spelling change
2000-02-20 07:38:48 +00:00
wiz
1515bd47fc
remove obsoleted #if defined(UVM)
2000-02-20 06:34:46 +00:00
enami
6779fc2bb2
Fix thinko in previous commit.
2000-02-20 03:48:40 +00:00
enami
ac75116d32
Try other config entry on i/o space alloc failure.
2000-02-20 03:18:15 +00:00
darrenr
4b3916780b
pass "struct pfil_head *" to pfil_add_hook and pfil_remove hook rather
...
than "struct protosw *".
2000-02-20 00:56:33 +00:00
chs
0e4b23600f
handle a NULL "done" pointer.
...
for the userspace versions, return EFAULT instead of EACCES
when the user address is bogus.
2000-02-19 23:29:16 +00:00
itojun
db71aa588d
s/u_char/u_int8_t/ for sin6_{family,len}
2000-02-19 17:32:07 +00:00
aymeric
728c720d75
acknowledge the interrupt to gayle before entering wdc_intr.
...
This fixes the lost interrupts problem.
fix some glitches on the A1200 too.
2000-02-19 17:16:20 +00:00
mjacob
6f13498242
correct oops on last checkin
2000-02-19 15:13:07 +00:00
jun
fa120e391e
On [port-hpcmips-ja@jp.netbsd.org:1764]
...
suz@hpc.bs1.fc.nec.co.jp (Koji Suzuki) writes
Sample configration for cassipeia E-55 & E-500
// wdc1 line deleted from original.
2000-02-19 15:01:33 +00:00
jdolecek
49fb5cf837
one more - Windows 2000 NTFS support
2000-02-19 14:42:21 +00:00
itojun
977705bc43
sort filenames, mainly to sort ip6/ipsec entries.
...
requested by: matthew green <mrg@eterna.com.au>
2000-02-19 10:31:07 +00:00
nisimura
e6635ea8bd
Introduce MI SCSI codes; for DECstation 5000s only this moment.
2000-02-19 09:48:46 +00:00
nisimura
051314999f
Introduce MI SCSI codes; for DECstation 5000s only this moment.
...
Disabled by default and needs arrangements in conf file to use it.
See DS5000 as a sample.
2000-02-19 09:46:48 +00:00
nisimura
58d5093220
Introduce MI SCSI codes; for DECstation 5000s only this moment and
...
disabled by default.
2000-02-19 09:43:40 +00:00
mycroft
7f0554e0c9
Add some CONSTCONDs to make lint happier.
2000-02-19 09:23:44 +00:00
mycroft
09cc3151e6
Don't pull in cpu.h in non-kernel code.
2000-02-19 09:22:51 +00:00
mycroft
fb5d3e9da4
Enable DDB history.
2000-02-19 06:58:28 +00:00
nisimura
da782dba95
The way to determine booted root device was simplified largely.
2000-02-19 04:16:18 +00:00
mycroft
6fe5b35136
Don't print an extra cpu0: prefix.
2000-02-19 04:00:59 +00:00
mycroft
14ef93565d
Use the prefix printed before cpuattach() is called.
2000-02-19 03:59:04 +00:00
nisimura
02d328f925
List all 6 different types of MI SCSI device.
2000-02-19 03:58:23 +00:00
tsutsui
fb7bc58609
Add new SUBDIRs.
2000-02-19 02:03:29 +00:00
mycroft
b4f04eeaad
Disable the sN,sp,gp register restore code for now, as it seems to collide with
...
something else.
2000-02-19 01:56:21 +00:00
mjacob
a9697ee5f2
Handle > 12 byte CDBs.
2000-02-19 01:55:42 +00:00
mjacob
717d5b1cc3
Support for > 12 byte commands for parallel SCSI.
2000-02-19 01:54:42 +00:00
mjacob
d88aecac57
Remove residual and now broken !ISP_NO_FASTPOST_SCSI code (which was
...
turning back on fast posting!). Redo fabric (re)login loop- don't try
and log out ports that haven't been logged in. Do correct target id
shuffling so we just always find the target ID we want. Add in support
for > 12 byte commands for parallel SCSI. Handle some Dual Bus reset
stuff. Finally fix ABORT COMMAND to use the right 16 bit order of the
handle to abort.
2000-02-19 01:53:56 +00:00
mjacob
ff86abe827
Cleanup some printaouts.
2000-02-19 01:51:43 +00:00
mjacob
b6dd4ddacf
Add in ISP_SWIZZLE_CONTINUATION macro.
2000-02-19 01:51:21 +00:00
mjacob
8c2e6c73e3
Handle dual bus cases for immediate notify and enable lun commands.
2000-02-19 01:50:57 +00:00
mjacob
98f7f7b5a0
Fix ITDEBUG macro
2000-02-19 01:50:25 +00:00
mjacob
77dec43b22
Clarify cd_resid tag.
2000-02-19 01:50:03 +00:00
mjacob
8405ee3752
Add in some mbox return codes that define when we've used up target
...
ids for doing fabric login. Define the 'Get All Next' SNS response
structure.
2000-02-19 01:49:47 +00:00
tsutsui
6df4ed6f4d
Fix resettod() from Richard Earnshaw <rearnsha@arm.com>
2000-02-19 00:27:16 +00:00
tsutsui
6cf82b4102
Sync with CATS.
2000-02-19 00:17:59 +00:00
tsutsui
7f54ebdd6b
- enable adv, pcscp, ex, vr and sequencer (which I am/was using)
...
- add (commented out) ne[01] at isa? (working)
- add (commented out) file-system CODA
- add (commented out) mpu* at sb? and midi* at mpu? (untested)
- comment out faith (sync with GENERIC)
- some more cosmetics
2000-02-19 00:14:58 +00:00
mycroft
e7cfaf8f5b
Actually, it looks like the mouse is there.
2000-02-18 23:11:20 +00:00
mycroft
640bdcd6cf
Document some things that are missing.
2000-02-18 23:10:01 +00:00
mycroft
f1d350ea27
Somewhat scaled-down config for a WorkPad.
...
Uses WSEMUL_SUN so I can get multi-line scrolling.
2000-02-18 20:52:15 +00:00
soren
d282f771e7
Remove redundant CIS definitions.
2000-02-18 18:55:31 +00:00
thorpej
bb7c9c63f3
On exception return, use k1 to restore the saved registers, so that we
...
don't stomp on the return address in k0. Also, don't need to account
for any load delays, as the last register restored (gp) isn't used in
the subsequent instruction.
2000-02-18 18:36:41 +00:00
nisimura
7481db1957
Revert the removal 'include "dev/scsipi/files.scsipi"' directive; it's
...
neccessary to make pmax/conf.c compiled correctly.
2000-02-18 10:18:12 +00:00
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