fredette
8efc1dcff9
Fixed has_context to return true on the kernel pmap,
...
which always has context zero. This was causing panics
under DIAGNOSTIC.
2001-04-10 12:39:56 +00:00
fredette
857e8fbc6b
The mainbus doesn't define a device name in the attach args
...
after attaching the special busses, so just match when it
isn't, instead of calling strcmp with it.
2001-04-10 12:37:49 +00:00
fredette
c6871b7720
Make softintr_handler return one, not zero, to properly
...
claim the interrupt. Added special bus_space_probe
handling to sun2_bus_map.
2001-04-10 12:33:09 +00:00
fredette
af0a9202ce
Under DIAGNOSTIC, disabled a test that was using an
...
instruction not available on the 68010. Also removed
more old sun3 cache-related code.
2001-04-10 12:29:10 +00:00
fredette
c4973c2333
In fpu_probe, now be sure to return FPU_NONE. Returning
...
FPU_UNKNOWN was causing confusion in cpu_switch.
2001-04-10 12:27:40 +00:00
fredette
0cb40c9174
Define a very small UBC_NWINS to keep UBC from eating all kernel VM.
2001-04-10 12:24:05 +00:00
fredette
0050ddd2b2
Be paranoid, #undef PAGER_MAP_SIZE before defining it.
2001-04-10 12:23:14 +00:00
kleink
0e1ec27466
Regen.
2001-04-10 11:12:12 +00:00
kleink
7b62f6ff28
Slight indentation nit.
2001-04-10 11:11:17 +00:00
kleink
fba80da1d1
Regen.
2001-04-10 11:06:20 +00:00
kleink
c73bcbb0f8
Slight indentation nit.
2001-04-10 11:03:56 +00:00
ross
eeea1bcd05
g/c transfer_check
2001-04-10 10:09:45 +00:00
leo
3e3afaaac3
Regen. again...
2001-04-10 07:03:49 +00:00
leo
e3d2d361fd
The Hades also uses the TT030 like SCSI driver. Remove 'mouse' here...
2001-04-10 06:46:01 +00:00
leo
2d38da2932
Initial MILAN generic config
2001-04-10 06:39:36 +00:00
leo
e409b5d5df
Regen.
2001-04-10 06:39:10 +00:00
leo
99047718f0
fdisa needs-flag...
2001-04-10 06:37:08 +00:00
leo
30f5357c6e
Move dma.c away from the mainbus floppy and make it a separate entity with
...
tag 'mbdma'.
2001-04-10 06:36:08 +00:00
leo
e159fdc910
files.atari:
...
Defopt motherboard type and make ym2149.c dependend on 'standard' atari
boards.
Configfiles:
Add pseudo device mouse. It got dropped in the moves by accident.
2001-04-10 06:28:38 +00:00
leo
dfaa29355b
Add a config file for the Milan. Note that you cannot build a working Milan
...
kernel yet. There are still quite some bits missing in the repository.
2001-04-10 05:56:25 +00:00
leo
1e08d983e3
Move GENERIC to GENERIC.in . This avoids confusion since GENERIC is not a
...
standalone config file anymore.
2001-04-10 05:52:14 +00:00
chuck
7074958a24
fix locking problem noted by Jaromir Dolecek. also, add more comments
...
on locking rules to make code easier to understand. locking in
uvm_loananon still needs some work on fringe cases where anon's page
is actually on loan from a uobj.
2001-04-10 00:53:21 +00:00
sommerfeld
422ddeb55b
In cpu_fork(), initialize u_pcb.pcb_context[8] so that the newly
...
spawned kthread/process runs at IPL_0 instead of whatever IPL the
parent was running at.
This appears to fix the NTP clock stability problems observed on some
alpha systems; the clock appears stable even when there's heavy
raidframe (i.e., kthread-intensive) I/O under way.
2001-04-10 00:27:00 +00:00
fvdl
0ccb3965dd
Fix missing splx calls. One of them from OpenBSD.
2001-04-09 23:51:28 +00:00
bjh21
fd7c4f1c79
ether_ioctl() expects i82586_init() to return an errno. Have it do so
...
(admittedly only EIO at present).
2001-04-09 22:31:16 +00:00
pk
cd24bc13e7
Account for the number of counter ticks that elapse while statintr()
...
processing takes place. This prevents stat clock skew by a factor
approximately proportional to stathz (not a serious problem if stathz==100;
but considerable already if stathz==1000).
2001-04-09 21:28:50 +00:00
pk
2c2e7aca80
Add macro to convert a counter register value to microseconds.
2001-04-09 21:17:33 +00:00
eeh
986e7f8f1c
Interrupt latency fix from sparc port. (Hm. One insn instead of 5).
2001-04-09 21:15:42 +00:00
marcus
b6c1c5d49a
Altentries should also be marked as functions, to keep linker happy.
2001-04-09 20:31:20 +00:00
martin
3caa4d3f4c
Specify the size of the framing added to packets (in this case: zero), so
...
if_sppsubr.c can calculate correct statistics.
2001-04-09 19:35:46 +00:00
martin
93c0294b72
Specify the size of the framing added to packets, so if_sppsubr.c can
...
calculate correct statistics.
2001-04-09 19:34:40 +00:00
reinoud
3e6eaba006
The old vidc console code can't handle all display depths
2001-04-09 19:33:22 +00:00
martin
8f8dc65f89
Add another option for encapsulation: PP_NOFRAMING.
...
In this mode, the PPP packets start with the protocol identifier and don't
have any explicit framing (which may be added by the lower level driver).
Make input/output statistics a little bit more correct by adding a hardware
driver adjustable framing length for each packet (instead of the constant
value "3" used before).
While there, bump authentication name length from 32 to 48 (I have a
connection where I need more than 32). XXX - this should not be artificialy
limited at all.
2001-04-09 19:33:01 +00:00
reinoud
ba53dd71d7
Re-enable setmode() in wscons implementation.
2001-04-09 19:23:32 +00:00
reinoud
b592059273
Just some pretty printing for 640 width screens
2001-04-09 19:22:42 +00:00
pk
a0daff5647
proc_trampoline(): mave the new process run at base interrupt priority level.
...
This is especially important for in-kernel processes started from here,
which would otherwise keep running at splclock().
2001-04-09 18:18:48 +00:00
nathanw
a8c1e6280a
Fix spelling errors in comments.
2001-04-09 16:10:06 +00:00
sato
a71959e501
fix KS_Cmd_Screen* in sigmarion_cmdmap[].
2001-04-09 16:05:53 +00:00
tsutsui
46023e3c2d
Remove aoutm68k_misc.c from SRCS since it is only needed
...
if COMPAT_AOUT_ALTPATH is specified.
XXX: How should we handle options like this on LKMs?
2001-04-09 16:03:22 +00:00
marcus
e0d02d24d5
Mark syscalls as functions.
2001-04-09 15:52:59 +00:00
drochner
9e9590f441
Change the way the aux port is probed for. Some older chipsets w/o
...
mouse port seem to interpret the "test aux port" (0xa9) command differently,
leading to a non-working keyboard.
Now we try to echo a byte through the aux port by means of the "echo aux"
(0xd3) command, which is what Linux does.
Thanks to Christoph Badura for detailed reports and testing.
2001-04-09 15:45:50 +00:00
ad
e637d8a38d
- Some firmware fills the system drive table with junk, so get the number
...
of system drives from an ENQUIRY.
- Complain if there's more than 1 segment when issuing some kind of enquiry
(this needs to be fixed properly).
- Fix the ID hack for 2.xx firmware.
- Fix an argument to bus_dmamap_sync().
2001-04-09 15:40:09 +00:00
enami
c75004b245
Fix the name of some bits in struct vnode.v_flag.
2001-04-09 14:14:10 +00:00
reinoud
e9d5de6e98
Patch the hardware scrolling to be only used when using VRAM until it is
...
working perfectly with DRAM only.
2001-04-09 13:59:44 +00:00
enami
51a6f1ba3c
Fix prototype to avoid compilation error.
2001-04-09 13:23:07 +00:00
ad
a69e2f1310
Regen.
2001-04-09 11:52:27 +00:00
ad
e68e07d62c
Add Tekram DC-315/DC-395.
2001-04-09 11:51:30 +00:00
jdolecek
b6d1d4db02
Change the first arg to fileops fo_stat routine to struct file *, adjust
...
callers and appropriate routines to cope. This makes fo_stat more
consistent with rest of fileops routines and also makes the fo_stat
match FreeBSD as an added bonus.
Discussed with Luke Mewburn on tech-kern@.
2001-04-09 10:22:00 +00:00
jdolecek
c1dca7fa03
also use fops fo_stat for osf1_sys_fstat2()
2001-04-09 10:08:51 +00:00
drochner
a6ae0975d5
regen
2001-04-09 09:39:57 +00:00
drochner
552d4c8236
add media options for the Intel UCH2 internal ethernet controller
2001-04-09 09:39:24 +00:00
jdolecek
3fc6fc58e6
Call file descriptor stat function via (*fp->f_ops->fo_stat) instead
...
of a switch statement and explicit call.
Sprinkle some FILE_USE()/FILE_UNUSE() as appropriate.
2001-04-09 09:39:09 +00:00
jdolecek
5bd42953f7
Upon Chuck Cranor request, revert rev. 1.26. There is indeed a bug in way
...
locking is done, but this fix is not the right way to fix it.
2001-04-09 06:21:03 +00:00
leo
3aabea5c70
Remove '_KERNEL' conditionalizing. This break userland apps.
...
Noted by Steve Allan.
2001-04-09 05:35:32 +00:00
tsutsui
aa31658cf0
Correct values for sanity checks.
2001-04-08 17:05:10 +00:00
jdolecek
17c0a84170
Remove superflous uvmfault_unlockmaps() in uvm_loan(), only call it
...
if uvm_loanentry() returned 0; otherwise, the unlocking would already
have been done by uvmfault_unlockall() call in uvm_loanentry().
Okay'ed by Chuck Silvers
2001-04-08 16:51:51 +00:00
tsutsui
c65417c92f
Make sure to print "\n" at the end of the attach line on non-DEBUG case.
2001-04-08 11:45:45 +00:00
tsubai
2a7597f49e
Make this compile w/o ukbd.
2001-04-08 08:53:31 +00:00
ross
2d8e2c19d6
Fix soo_stat() calls for the new parameter, even if the direct call is
...
now obsolete, so that kernels will at least compile. I guess it was too
much trouble to change all 10 call sites, or perhaps, these days, only
things that build on i386 are important. Maybe it's the full moon tonight.
2001-04-08 08:01:36 +00:00
augustss
82fe39b9cb
Add a Peracom adapter.
2001-04-08 02:10:57 +00:00
tshiozak
042dae07d7
support "running status" handling. midiplay via umidi is working now.
2001-04-07 22:01:34 +00:00
reinoud
ed0aea79a7
Make the NC start run again ... it didnt detect the start of the DRAM good
...
enough.
2001-04-07 20:57:24 +00:00
thorpej
5cbdcc502b
Add ALTQ support (both for the VLAN interface itself, as well as for
...
being a VLAN on a ALTQ'ified interface).
2001-04-07 18:41:42 +00:00
thorpej
c28f672aee
Add altq_etherclassify(), a slight hack modified from the kame/freebsd4
...
tree, which allows a packet with Ethernet headers already present to
run through the ALTQ packet classifier. This is needed in order to
suport ALTQ on VLAN and bridge devices.
2001-04-07 18:01:48 +00:00
jdolecek
bb8ceadfcc
Adapt to struct fileops, soo_stat() changes.
...
Pointed out by Bernd Ernesti in private mail.
2001-04-07 17:37:09 +00:00
jdolecek
09b64e8678
bump kernel version - struct fileops change
2001-04-07 15:56:50 +00:00
dbj
179671f564
automatically restart dma for unexpected shutdowns
2001-04-07 13:02:55 +00:00
tsutsui
aff5787b5b
Regen from aoutm68k/syscalls.master rev 1.5:
...
> Allow enabling/disabling /emul/aout alternate path search
> on COMPAT_AOUT_M68K environment by options COMPAT_AOUT_ALTPATH.
2001-04-07 12:28:55 +00:00
tsutsui
0286ef8bba
Allow enabling/disabling /emul/aout alternate path search
...
on COMPAT_AOUT_M68K environment by options COMPAT_AOUT_ALTPATH.
2001-04-07 12:25:15 +00:00
dbj
b2e3cc1a2e
continue to tweak nextdma detection of xfer length
...
add check to esp driver for incomplete transfers, but still does not handle them.
2001-04-07 11:29:50 +00:00
ichiro
8aa94c66a0
regen
2001-04-07 11:16:35 +00:00
ichiro
f5842381bb
add product centronics adapter USB-1284 BRIDGE
2001-04-07 11:16:12 +00:00
tsutsui
2f9f69455f
Fix some bus_dma(9) usage:
...
- bus_dmamap_sync() takes offset into the dmamap, not VA.
- Use BUS_DMA_STREAMING for the data dmamap, not BUS_DMA_COHERENT.
2001-04-07 10:50:13 +00:00
jdolecek
16b1272b3f
Add new 'stat' fileop and call the stat function via f_ops rather
...
than directly.
For compat syscalls, also add necessary FILE_USE()/FILE_UNUSE().
Now that soo_stat() gets a proc arg, pass it on to usrreq function.
2001-04-07 09:00:57 +00:00
tron
824065dc0a
Don't call "is_a1200()" again after its result was stored in the "softc"
...
structure.
2001-04-07 05:09:27 +00:00
thorpej
98c9d8b5c6
ether_*() functions belong in if_ether.h, not if.h.
2001-04-07 04:24:31 +00:00
augustss
50c9868982
Add a bunch of language specific keymaps. From OpenBSD.
2001-04-07 00:27:55 +00:00
augustss
b8cfdb2c1d
Allow a UKBD_LAYOUT option to determine the default keyboard layout.
...
(From OpenBSD.)
2001-04-06 22:54:15 +00:00
augustss
09846cd9c0
Regen.
2001-04-06 22:53:16 +00:00
augustss
76e981dd50
Add another device (from FreeBSD).
2001-04-06 22:52:55 +00:00
leo
adc78de568
Regen.
2001-04-06 21:55:11 +00:00
leo
54d70d6eef
Add a 'ser0' device to all. Add ne2000, 3Com 3c59x/3c90x and ESS Solo-1
...
support to the Hades.
2001-04-06 21:53:39 +00:00
fredette
666b4cf417
A successful compile is near.
2001-04-06 17:17:58 +00:00
simonb
1c69191831
Fix typo - s/dbcst/dcbst/.
2001-04-06 16:48:11 +00:00
darrenr
0b6031033d
fix fragment cache security hole
2001-04-06 15:32:40 +00:00
fredette
ec984a04ad
Added.
2001-04-06 15:05:55 +00:00
fredette
3ff14b7ac5
vm/vm.h -> uvm/uvm_extern.h
...
Cleaned up definitions of cputype and mmutype.
mon.h -> promlib.h, and use all of the new prom_
functions instead of the old mon_ functions.
Removed all of the old mon_ capturing code to
promlib.c.
2001-04-06 14:59:09 +00:00
fredette
e3edb8d20c
Gratuitous comment changes.
2001-04-06 14:52:56 +00:00
fredette
6529ec2635
Now include machine/promlib.h instead of machine/mon.h, and
...
use the new prom_ functions instead of the old mon_ functions.
Added the internal _pmap_extract_pmeg function, and removed
some old Sun3 cache-related code.
2001-04-06 14:52:19 +00:00
fredette
353ad332f0
Added some support for the old-school 'g0' and 'g4' monitor
...
hooks, and removed some old Sun3 cache and interrupt-register
related code.
2001-04-06 14:36:08 +00:00
tsutsui
06c28be1fe
Install byte_swap.h on make includes.
2001-04-06 14:11:20 +00:00
fredette
20293ce870
Added.
2001-04-06 13:13:01 +00:00
fredette
d8d78f2801
Added a prototype for the internal function _pmap_extract_pmeg,
...
used by the bus_dma implementation when double-mapping pages
by hand.
Now define PMAP_OBMEM for completeness.
2001-04-06 13:12:06 +00:00
fredette
874e89c74d
Added an internal bus_space flag to find and use PROM mappings.
...
Added an internal bus_dma flag to mark when a map has been
loaded by double-mapping pages by hand, outside of the pmap.
Added more prototypes for our bus_dma implementation.
2001-04-06 13:09:10 +00:00
fredette
85c6ec3b50
Now use the proper DVMA map size depending on what
...
machine type we're on.
Removed all prototypes, since we're going bus_dma.
2001-04-06 13:03:14 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
toshii
ff71a021ca
There is no /usr/include/hpcarm/disklabel_acorn.h.
2001-04-06 11:10:57 +00:00
onoe
5653ae7375
Add Cisco Aironet 350 Series.
...
XXX: work as same as 340 series.
do not use any 802.11e security enhancements yet..
2001-04-06 09:28:39 +00:00
onoe
8a81c1e899
regen: add Cisco Aironet 350 Series.
2001-04-06 09:27:13 +00:00
onoe
f53e32994a
Add Cisco Aironet 350 Series
2001-04-06 09:26:29 +00:00
jdolecek
e482ee9d62
add rnd (for ssh/sshd) and couple comments
2001-04-06 06:44:08 +00:00
toshii
3180bc6ac6
Fix a couple of bugs including kernel_pt_table[] range overflow.
...
I thought some incompatiblity with gcc-2.95.3 prevented booting,
but the actual reason was this silly overflow.
2001-04-06 05:38:01 +00:00
thorpej
66c3288ad5
From KAME:
...
kjc 2001/02/09 16:20:40 JST
Modified files:
kame/sys/altq altq_classq.h altq_rmclass.c
Log:
clear m_nextpkt at dequeueing a packet.
this is not needed in the current code but
requested by Lars Eggert <larse@ISI.EDU> for
their experiment to use altq for inbound processing.
Revision Changes Path
1.4 +4 -1 kame/kame/sys/altq/altq_classq.h
1.10 +4 -1 kame/kame/sys/altq/altq_rmclass.c
2001-04-06 00:44:46 +00:00
bjh21
03e45ae8c7
In ea_writembuf(), reset the DMA pointer for each mbuf we copy, since
...
odd-sized mbufs will confuse things. This makes transmission of odd-sized
packets work.
2001-04-06 00:02:49 +00:00
bjh21
d109dd795a
Add a bit of voodoo code from the old "eb" driver that seems to prevent the
...
80C04 returning garbage when we read from it. This driver can now handle flood
pings without dropping packets.
2001-04-05 22:55:46 +00:00
reinoud
0eb01da9c9
Two preliminary NC kernel definition files....
2001-04-05 22:34:28 +00:00
reinoud
1b2003f235
Apply patches for the NC ... not really in the line of the merge but at least
...
its in the source tree for now.
2001-04-05 22:33:12 +00:00
augustss
aaf471b177
Regen.
2001-04-05 20:52:57 +00:00
augustss
df7e9d2178
Add Canon PowerShot S100.
2001-04-05 20:52:34 +00:00
bjh21
9411be7c80
Re-enable the old "ea" and "eb" drivers under the names "oea" and "oeb".
...
These shouldn't last long, but they may be useful until I hammer all the bugs
out of the new version.
2001-04-05 20:31:50 +00:00
tsubai
b672929b7f
Support uni-north based models. (XXX not complete)
2001-04-05 19:55:01 +00:00
jhawk
4f4abf46ee
SYSDIR should be relative here, too.
...
And actually use it after we define it.
Optimize the find expression (use -prune over -path)
2001-04-05 19:49:40 +00:00
reinoud
b44dca831b
Since the NC's seem to have trouble with the OS_HeapSort, i've implemented
...
my own sorting routine (bubblesort). Also replaced a declaration for BASIC
seemed to mess things up.
2001-04-05 19:17:17 +00:00
rearnsha
d9de58f3e1
Ansify. Replace bcopy/bzero with memcpy/memset. Clean up formatting.
...
Clean up debug messages. No significant functional changes.
2001-04-05 18:06:45 +00:00
tsubai
a9e0aabf3f
Correct input volume settings.
2001-04-05 14:21:31 +00:00
minoura
817c994ead
Make this compile on alpha with DIAGNOSTIC.
...
Thanks to atatat.
2001-04-05 12:36:51 +00:00
leo
1324cab42e
And commit the generated files.
2001-04-05 12:25:15 +00:00
leo
6b22a0776c
Forgot this in previous commit.
2001-04-05 12:22:10 +00:00
jdolecek
08beeb78a7
change the attach message to contain slot number and product name
2001-04-05 12:22:05 +00:00
leo
fb0acfc293
Major overhaul in the config files. The idea is to have the major part of
...
the generic options in GENERIC instead of duplicated all over the place.
To generate a config file, run 'makeconf'. This script uses cpp to combine
a '.in' file and GENERIC to a real config file.
2001-04-05 12:21:30 +00:00
jdolecek
c0ecf03bc0
convert to table-based product lookup
...
change the attach message to conform to other MCA drivers - print slot
number and product name
2001-04-05 12:20:26 +00:00
sato
5531835e99
add MobilePro770 cmdmap.
2001-04-05 11:37:18 +00:00
tsubai
b01df63489
Assume USB keyboard when `usb-kbd-ihandles is not found.
2001-04-05 10:10:26 +00:00
tsubai
eb4f61df19
Regenerate this file from cvs repository in order to get back original
...
copyright.
2001-04-05 09:58:05 +00:00
dbj
4db02d75fa
initialize zsaddr to intio address space in zs_attach
...
addresses pr 6770
in the future, zs should be upgraded to use NEXT68k_INTIO_BUS_SPACE
instead of using IIOV directly.
2001-04-05 05:35:12 +00:00
dbj
0c6af3e769
comment out M68030, since we do not yet support NeXT 68030 computers
2001-04-05 04:42:42 +00:00
thorpej
23a3a54650
libkern.h now has the ctype routines.
2001-04-05 04:39:02 +00:00
thorpej
db5854a62c
Build strtoul.c
2001-04-05 04:38:33 +00:00
thorpej
554aa34ee7
Add ctype routines.
2001-04-05 04:38:06 +00:00
dbj
14688b4513
check for a 68040 MMU before using the TBIA instruction
...
addresses PR 10409
code grabbed from mvme68k locore.s
2001-04-05 04:37:43 +00:00
dbj
1e812ee6cf
remove unused cache operations, we now use shared m68k/cacheops.c
2001-04-05 04:23:56 +00:00
oster
856e0a920e
A value of 1 for tracks/cylinder in the disklabel is apparently sub-optimal.
...
Thus we choose "4 * number_of_columns" as a more reasonable
value (until someone comes up with something better).
This pretends to properly address PR#11989.
2001-04-05 02:48:51 +00:00
mjacob
5dafac6e18
Add a few opcodes for target mode. Define firmware attributes (for FC f/w).
2001-04-05 02:28:53 +00:00
mjacob
ad454c818c
Keep up with the Joneses: sync with common core target mode code. Eventually
...
we'll do something with it here.
2001-04-05 02:28:17 +00:00
mjacob
6c28def28f
Change how SCSI defaults are latched if we're supporting Target Mode.
...
Make sure we pick up the channel for dual bus cards when enabling target
mode. Catch a silly null pointer dereference.
2001-04-05 02:27:33 +00:00
reinoud
d2b84b36d2
Removing an old unused include
2001-04-04 21:40:20 +00:00
reinoud
8008708109
Hmm... these were just plain wrong ... it should be more sane now
2001-04-04 21:11:07 +00:00
is
3a27b85296
This only works with data registers.
2001-04-04 19:53:05 +00:00
ross
3bbe93edd6
new syscalls
2001-04-04 19:52:18 +00:00
ross
cf6a3cc49d
prototypes and comments
2001-04-04 19:41:00 +00:00
reinoud
9d0e339af2
Fix a big memory allocation bug in the bootloader; i underdementioned
...
a piece
2001-04-04 17:13:28 +00:00
manu
4678df7c23
Cosmetic change
2001-04-04 17:08:07 +00:00
tsutsui
41e535a424
Remove an unused variable which was caused on KERN_* error code removal.
2001-04-04 16:43:04 +00:00
pk
0929f3662e
* Missing PROM_OPENFIRM: case in getdevtype() and prom_getether().
...
* In getdevtype(), use prom_instance_to_package() to get to the device node.
From Valeriy E. Ushakov on port-sparc@netbsd.org .
2001-04-04 15:41:46 +00:00
tsubai
570716506c
Add rnd.
2001-04-04 10:18:28 +00:00
itojun
5ed8fd262b
suppress RS/RA log messages (can be re-enabled by net.inet6.icmp6.nd6_debug),
...
as they may fill up /var. sync with kame.
2001-04-04 06:28:41 +00:00
itojun
2abaa8eae5
make sure rcvif is sane on call to icmp6_reflect
2001-04-04 06:28:40 +00:00
toshii
fa02f7a053
Add Japanese model keyboard mapping.
2001-04-04 05:31:57 +00:00
tsutsui
c8ff6232b7
Restore #endif which was mistakenly removed in previous.
2001-04-03 22:46:03 +00:00
ragge
ba98d9bf9e
Protect #include <sys/types.h> by #ifndef _LOCORE. <sys/types.h> isn't
...
asm-safe.
2001-04-03 20:25:22 +00:00
manu
15fbc5943f
Added a comented out COMPAT_LINUX option in GENERIC kernels of PowerPC ports
2001-04-03 19:50:43 +00:00
jhawk
d95ba2eb80
Remove gratuitous setting of SYSDIR;
...
it is set in sys/kern/Make.tags.inc
2001-04-03 17:12:23 +00:00
jhawk
0ee6a7e6e9
Remove grossly inefficient "! -path /sys/arch*" construct in favor of -prune.
...
Use a relative path (../..) instead of /sys.
Enhance the sed expression to work with .'s in paths.
Quote sed expressions in single quotes rather than double
quotes unless there's a good reason otherwise.
2001-04-03 16:56:16 +00:00
chs
e7a221b78f
remove a temporary hack now that it's fixed for real. fixes PR 11731.
2001-04-03 15:08:38 +00:00
chs
d8ed86a474
handle partially full directory buffers by only using (b_bcount - b_resid)
...
bytes of data from the buffer.
2001-04-03 15:07:23 +00:00
jdolecek
c84d3343d1
add standard NetBSD RCS Id on top
2001-04-03 13:10:26 +00:00
sato
6601895830
add vrc4172pwm for MC-R510, MC-R520.
2001-04-03 09:02:24 +00:00
itojun
6e45c58f53
check ip_mtudisc only for TCP over IPv4.
...
PMTUD is mandatory for TCP over IPv6 (if packets > 1280).
2001-04-03 06:14:31 +00:00
chs
2a2f8d1727
initialize some struct mount fields that UBC needs.
...
DOS3 filesystems work now.
2001-04-03 05:40:27 +00:00
bjh21
0c5b5be69f
Tweak product ID printing in light of the 80C04A data sheet.
...
Split out Rx and Tx interrupt handlers into their own functions for clarity.
2001-04-02 22:25:17 +00:00
hpeyerl
bda486229f
This machine hasn't existed for some time.
2001-04-02 14:46:48 +00:00
ichiro
dbbff52c3d
support USB-serial PLANEX USB-RS232 URS-03
...
reported by sakamoto@splhack.org (Kazuki Sakamoto)
2001-04-02 13:38:14 +00:00
augustss
8086f5e0ec
Print portno when attaching.
2001-04-02 13:18:31 +00:00
reinoud
4b9911dfd2
Finally implement the BREAK key in the wskbd ! :)
...
The BREAK key is a wierd one that gives an extra prelude.
2001-04-02 12:34:34 +00:00
fvdl
ecca88089a
Override NFS read and write size to default to 32k for the i386 here
...
(can be overridden from a config file).
2001-04-02 11:48:18 +00:00
fvdl
8ec4ee98dd
Set default NFS read and write sizes back to 8k, because a lot of
...
(old) hardware can't handle more.
2001-04-02 11:47:23 +00:00
wdk
dacfad3be3
Clear interrupt latch after interrupts are processed, not before.
2001-04-02 09:54:16 +00:00
pk
3c425b682f
Cast `field-width' arguments to type `int'.
2001-04-02 07:16:05 +00:00
dbj
6c04c75c6c
No longer clobber the DMACSR_SETENABLE bit in the dma interrupt
...
Add the ability to handle unexpected dma shutdowns
2001-04-02 05:29:43 +00:00
dbj
a5523b0bfd
remove unused ifmedia fields
2001-04-02 05:29:42 +00:00
dbj
dff3edd66d
removed unused mediachange routines
...
changed ethernet receive to handle unexpected dma shutdowns
2001-04-02 05:29:42 +00:00
dbj
235c2b2545
reenabled flushcount diagnostic check.
...
tweaked formatting on hex dump debugging routine
2001-04-02 05:29:42 +00:00
dbj
403a09df61
resync with mvme68k
2001-04-02 05:28:38 +00:00
chs
10e361a3bf
in the 386 case of copyout(), reload "len" from the stack after verifying
...
write permission since pcb_onfault will clobber %eax if we fault.
2001-04-01 23:54:14 +00:00
jdolecek
8a08e12c86
slighly adjust comment
2001-04-01 23:14:02 +00:00
bjh21
7b7d57c2da
Add some definitions for the 80C04A, thanks to Reinoud, who found me a data
...
sheet for it.
2001-04-01 21:15:15 +00:00
reinoud
12f7f9e0de
Make it compile again ... removed an unused variable
2001-04-01 20:16:25 +00:00
reinoud
321ff3e0db
Remove the VIDC start video programming from the Vsync to when its moved; this
...
also solves problems with the interrupts being disabled in ddb resulting in no
scrolling :(
2001-04-01 20:08:18 +00:00
augustss
9d6dabe88a
Regen.
2001-04-01 19:24:28 +00:00
augustss
557561727e
Add more Keyspan adapters.
2001-04-01 19:24:06 +00:00
ragge
b98dc685a3
Be sure that all kernel stack pages are valid after swapin. Fixes PR#12520.
2001-04-01 19:18:42 +00:00
augustss
95af1455f2
The ZiO! MMC adapter doesn't have a flex geometry page.
2001-04-01 19:05:44 +00:00
augustss
d265e74a94
Make the ZiO! MMC adapter work.
2001-04-01 19:04:52 +00:00
augustss
c1dfafc4de
Regen.
2001-04-01 18:25:14 +00:00
augustss
39ccfa3beb
Add some new devices.
2001-04-01 18:24:49 +00:00
reinoud
4b7f5e2feb
Add hardware scrolling to the RiscPC wscons implementation.
...
There are still some minor oddities esp. at startup but after that it
functions OK.
The scrolling speed is increased *dramatically* and allmost even faster
compared to the old vidcconsole code; *NOT* tested yet on non-VRAM machines.
2001-04-01 16:58:05 +00:00
reinoud
29cf89ce1a
Bump BtNetBSD version number to 0.95 ... forgot that
2001-04-01 16:50:24 +00:00
chs
088989a557
undo the part of a previous commit which turned a check for faulting
...
on an "intrsafe" map into a KASSERT. this situation can be caused by
an application accessing /dev/kmem.
2001-04-01 16:45:53 +00:00
chs
702fa72b16
in bwrite(), when deciding whether to convert sync writes into delayed writes,
...
examine the filesystem contained in a block device rather than the filesystem
containing the block device vnode. fixes PR 12484.
2001-04-01 16:16:56 +00:00
tsubai
85dc2162fb
Correct vBufA offset. (currenly not used)
2001-04-01 15:14:36 +00:00
ad
87fee883e5
- Allocate any private space thats requested.
...
- Just use mapreg_map().
2001-04-01 15:06:22 +00:00
ad
99187cdd56
- Allocate any private space that's requested.
...
- Fix a few bogons with the last update.
- Add some more LAN defs.
2001-04-01 15:02:08 +00:00
augustss
cb47887dc2
Add two missing splx() (inside DIAGNOSTIC). From OpenBSD.
2001-04-01 15:00:29 +00:00
augustss
1077c84a99
Avoid a potential null pointer dereference. From OpenBSD.
2001-04-01 14:59:52 +00:00
augustss
f994193bf7
Add Epson 1240.
2001-04-01 14:50:58 +00:00
augustss
b20d51da79
Regen.
2001-04-01 14:50:43 +00:00
augustss
9132bd9643
Add Epson 1240. Add a comment about the purpose of this file. From FreeBSD.
2001-04-01 14:50:22 +00:00
augustss
2abf6b66a5
Change handling of the UFI protocol so it goes through atapibus instead
...
of scsibus. This removes a whole bunch of specioal cases for UFI.
All this great simplification comes from Brett McCoy <bmccoy@genuity.net>.
2001-04-01 14:41:39 +00:00
tsubai
42fc57ff46
Remove gpio. It's not a time to use separate gpio node yet.
2001-04-01 10:42:34 +00:00
tsubai
158796407f
Adjust timing for pmu99. Internal keyboard of recent PowerBooks
...
should work now.
2001-04-01 10:40:45 +00:00
augustss
97fa4f3453
Fix some bad indentation.
2001-04-01 03:28:11 +00:00
dbj
36f2be46e8
purge the cache on BUS_DMASYNC_PREREAD instead of BUS_DMASYNC_POSTREAD
2001-04-01 01:42:51 +00:00
leo
ad8c9f3a7e
Wcd attacment code for the Milan. The Milan has the standard dual IDE port
...
hardware. A Milan specific attachment is needed to modify the iot so that
the streaming methods do a byteswap.
Configure like:
wdcisa0 at isa? port 0x1f0 irq 14
wdcisa1 at isa? port 0x170 irq 15
2001-03-31 20:24:10 +00:00
leo
a054ccd1d4
Add a tag to the fdcisa.c and isa/fd.c files. So they won't be used
...
unnecessary (and cause trouble).
2001-03-31 20:13:19 +00:00
kleink
93d8ed4889
Cannot use symbolic constants from <sys/ipc.h> for the previous change;
...
noted by Martin Husemann.
2001-03-31 16:53:25 +00:00
chris
101035dac6
Add EtherN/EtherI card support + EtherH media auto detection support.
...
Based on updated patch from Mike Pumford, originally submitted in
port-arm32/8765.
2001-03-31 15:32:46 +00:00
toshii
fe9328ad71
Reorder so that basic devices attach first.
2001-03-31 13:49:44 +00:00
toshii
2303009aeb
Add SA11[01]0 DMA controller register definitions.
...
(I forgot to commit this a week ago.)
2001-03-31 13:13:22 +00:00
toshii
4f12f94c95
Protect spl changing functions from interrupts.
2001-03-31 12:53:59 +00:00
toshii
c1244a5828
Remove cons_init(com), which prevents compiling in com_pcmcia.c.
2001-03-31 12:52:31 +00:00
toshii
02811d05f2
Fix a bug which caused interrupt loss.
2001-03-31 12:49:21 +00:00
toshii
2efdaff40e
Set hardware interrupt masks in sa11x0_intr_{establish,disestablish}.
2001-03-31 12:48:10 +00:00
toshii
129f529148
Back out most of rev 1.4 so that it compiles again.
2001-03-31 12:36:53 +00:00
toshii
dfddb1e107
Increase spl_masks[] size by one and set the extra element to 0.
...
irq_entry accesses here.
2001-03-31 12:22:37 +00:00
ragge
fab65b55e4
(Untested) recognition of KA55.
2001-03-31 11:50:45 +00:00
ragge
9a6b7bcffa
Support for the 4000/600 cache, from Lord Isildur. (mrfusion@vaxpower.org)
2001-03-31 11:50:12 +00:00
rh
ba614ae877
Fix DPRINTF statements so this compiles with debug enabled.
2001-03-31 10:10:37 +00:00
jdolecek
ba9261ba08
add year 2001 to copyright for NetBSD
2001-03-31 09:50:14 +00:00
jdolecek
5a3d02fe8b
fix the copyright - Charles's name was added here by mistake, use
...
standard TNF cookie instead
2001-03-31 09:49:00 +00:00
hubertf
267271c1b2
Explain some SA_* options - reading compressed kernels, netboot
...
Useful for stripping down bootcode.
2001-03-31 09:45:11 +00:00
minoura
1a1b6fb6d2
Match XpressAudio.
2001-03-31 09:24:37 +00:00
minoura
92e327c226
Match PNP0320 (Japanese 106-key keyboard A01).
...
- We could use this information to determine the default keymap (?)
- Match more keyboards? (e.g.strncmp(idstr, "PNP03", 5))
2001-03-31 09:20:40 +00:00
minoura
5e2f81a0cf
Regen.
2001-03-31 09:08:06 +00:00
minoura
27fcb60ea5
Add Cyrix products (MediaGX).
2001-03-31 09:06:45 +00:00
dbj
5f670bebfc
Initialize the entire pmap table before populating it.
...
This addresses pr 7174
Thanks to Christian Limapch for diagnosing the problem.
2001-03-31 09:05:21 +00:00
tsubai
c13ba16f2b
Fix an uninitialized variable reference in cpu_fork().
...
Reported by Tad Hunt <tad@entrisphere.com>.
2001-03-31 07:50:59 +00:00
dbj
41833a3286
comment out device register structure definitions, used for reference only.
...
remove unnecessary BUS_SPACE_MAP_LINEAR when mapping ethernet dma registers.
2001-03-31 06:56:54 +00:00
jdolecek
5f3d9f1da2
Add driver for AT1720 MCA cards. This uses generic MB86960 support code,
...
and shares some bits with ISA AT1700 driver. Gee, this one was really
easy :)
This card turned out to be quite good performer - I get about 360KB/s
on 386DX PS/2 machine, which is best of all supported cards so far.
Tested with AT1720T, card donated by David Brownlee.
2001-03-31 00:43:05 +00:00
jdolecek
803c0c7eda
Add driver for AT1720 MCA cards. This uses generic MB86960 support code,
...
and shares some bits with ISA AT1700 driver. Gee, this one was really
easy :)
This card turned out to be quite good performer - I get about 360KB/s
on 386DX PS/2 machine, which is best of all supported cards so far.
2001-03-31 00:43:04 +00:00
enami
2ceebb6c0e
Remove unnecessary test of tp->t_linesw against NULL; they are results
...
of confusion while correcting compilation error after t_line is
replaced with t_linesw.
2001-03-31 00:35:21 +00:00
jdolecek
6f8f19b16e
fix typo in comment
2001-03-31 00:30:22 +00:00
jdolecek
592dfdc76b
Prepare for MCA attachment:
...
* split off sharable stuff to dev/ic/ate_subr.[ch], move ate(4) device
definition to conf/files
* cosmetic: attach with ate_isa
2001-03-31 00:26:53 +00:00
enami
d04f4ebff1
WSDISPLAY_FONTENC_SONY is gone.
2001-03-31 00:14:32 +00:00
wdk
6b982beac1
Call softintr_init()
2001-03-31 00:10:03 +00:00
wdk
3e4cc841a7
Add softintr and ISA bus support
2001-03-31 00:08:34 +00:00
wdk
a03b2aaaf0
Reverse previous commit - isa headers don't belong in /usr/include
2001-03-31 00:05:57 +00:00
wdk
d3a8b4016e
Add isa_machdep.h and isapnp_machdep.h
2001-03-30 23:59:19 +00:00
wdk
0ca4ab64ac
Add ISA serial port device
2001-03-30 23:54:45 +00:00
wdk
9641e5d860
Probe ISA bus devices
2001-03-30 23:52:05 +00:00
wdk
dd068f675e
Changes to interrupt architecture for softintr support
2001-03-30 23:51:14 +00:00
wdk
cdba0ef41c
Add some ISA bus cards
2001-03-30 23:49:37 +00:00
reinoud
7cf783665e
Please preserve copyright notices modified by Ben Harris since the a.out and
...
ELF structure loadings are of his design from BBBB
2001-03-30 23:49:06 +00:00
wdk
1b6e2e02dd
Add files for ISA bus and softintr support
2001-03-30 23:47:58 +00:00
wdk
8cd59636b4
Support for ISA expansion slot in Mips 3230
...
The ISA Bus on this machine doesn't support DMA, and all interrupt lines
are wire-OR'ed together. Mileage may vary if sharing interrupts.
Tested cards:
com: 8250 and 16550 UART's (8 bit)
ec: 3com Etherlink II (8 bit)
we: SMC 8013 Ethernet (16 bit) [work in progress]
Probes, ARP in both directions works, sends clean packets,
tcpdump show correct packets on receive, NDP for IPv6 works,
netstat -s shows nothing strange.. but doesn't talk TCP/IP!
2001-03-30 23:45:18 +00:00
reinoud
7d798b3ef7
Initial ELF kernel loading for RiscPC/A7000/NC based on Ben Harris's work
...
Since arm32 isnt switched to ELF yet its not completely tested; It loads
a kernel but then hangs on symbol table loading; propably a ELF/a.out
symbol table conflict.
Also cleaned up the code a bit
2001-03-30 23:44:58 +00:00
wdk
154a3bba69
use MI softintr
2001-03-30 23:28:00 +00:00
wdk
5d03735614
Move most interrupt functionality to arch/mipsco/mipsco/interrupt.c
...
Remove old style soft interrupts to favor MI softintr support
2001-03-30 23:26:29 +00:00
wdk
09d79c4b1f
New data structures and prototypes for MI softintr support
2001-03-30 23:23:37 +00:00
wdk
273d283d25
Implement MI softintr functions (softintr_establish, softintr_schedule etc)
2001-03-30 23:21:30 +00:00
wdk
9477a9256c
Re-implement bus_space(9) functions:
...
- Correctly handle striding of data
- Better support for endian neutral access
- Correctly implement _stream variants of bus_space functions that can
byte swap. This reverses the automatic byte swapping done in hardware
for 16 bit ISA bus cards
2001-03-30 23:17:03 +00:00
fvdl
49b162566a
Bump va_blocksize for the map files some more, so that programs with
...
quite a few mappings have a chance of being handled correctly if
st_blksize is looked at.
2001-03-30 20:25:11 +00:00
leo
a22b0cbf4d
Optimize bswap16() and bswap32() functions to inline assembly.
2001-03-30 20:00:05 +00:00
jdolecek
9f531a91bb
regen - use linux_sys_nosys() instead sys_nosys()
2001-03-30 18:33:22 +00:00
jdolecek
bbe1ee69af
Use linux_sys_nosys() instead sys_nosys() here too.
2001-03-30 18:31:28 +00:00
jdolecek
02281ec1f5
regen
2001-03-30 18:02:28 +00:00
jdolecek
c51fe2a452
use UNIMPL instead of NODEF for the dummy syscalls 218, 219
2001-03-30 18:01:20 +00:00
jdolecek
36a42f0ce8
Add new syscalls from Linux 2.4.3 to the lists. Not implemented ATM.
2001-03-30 17:59:46 +00:00
christos
95fda43dd5
make all debugging messages conditional on sc->sc_debug.
2001-03-30 17:30:18 +00:00
jdolecek
e07a93ab5a
regen
2001-03-30 17:18:47 +00:00
jdolecek
890850dddf
Implement linux_sys_nosys() and use it instead of sys_nosys() for
...
unimplemented syscalls. Difference is that linux_sys_nosys() doesn't
post SIGSYS to the process. Linux doesn't do that and thus glibc (and
probably other Linux code) doesn't deal with SIGSYS, even through it
generally contains fallback code for ENOSYS case.
This also addresses port-i386/12503, though the issue was already discussed
earlier.
2001-03-30 17:16:33 +00:00
jdolecek
466a79b36b
Make it possible to use different function for unimplemented syscalls
...
than sys_nosys().
2001-03-30 16:56:36 +00:00
ad
30b7c151f0
AEN 0x000c appears to mean `init started'. From lukem.
2001-03-30 16:48:57 +00:00
tsutsui
7cd0069dfc
Make this compile without com.
2001-03-30 16:32:02 +00:00
uch
c5496871db
fix comment.
2001-03-30 15:59:17 +00:00
minoura
28f83415ad
Update TODO list.
2001-03-30 15:53:25 +00:00
minoura
6a18583c73
Add yds.
2001-03-30 15:23:44 +00:00
minoura
a9a5dcd043
Add yds at pci and children.
...
Alpha and i386 are the only tested ports.
2001-03-30 14:47:48 +00:00
minoura
537038859e
Yamaha YMF724/740/744/754 (DS-1) PCI audio driver.
2001-03-30 14:32:08 +00:00
tsutsui
42e44c1408
Make Sony's fonts ISO8859-1 compliant.
2001-03-30 13:06:45 +00:00
toddpw
8b733f7126
Our INCSDIR has been pruned from distrib/sets, so don't make it any more.
2001-03-30 12:42:30 +00:00
mycroft
355086c412
The `speed' statistic from the RNG was brought to you by the letter `B' and
...
the letter `S'. I don't think anyone will miss it.
2001-03-30 12:05:02 +00:00
toddpw
a6a587a71e
Track prototype change to isa_fillw() that avoids passing u_short as an arg.
2001-03-30 11:21:33 +00:00
itojun
92969654c0
enable FAKE_LOOPBACK_IF case by default.
...
now traffic on loopback interface will be presented to bpf as normal wire
format packet (without KAME scopeid in s6_addr16[1]).
fix KAME PR 250 (host mistakenly accepts packets to fe80::x%lo0).
sync with kame.
2001-03-30 11:08:56 +00:00
ur
5ba1d71d33
Don't reference nonexistent register on R96. (and maybe R94 too)
2001-03-30 09:10:48 +00:00
wdk
70a7bcb64b
Remove ncr53c9x_dmaselect
2001-03-30 07:49:07 +00:00
itojun
dbcd4b8d03
fix constness of IN6_{IS,ARE}_xx with RFC2553. sync with kame.
2001-03-30 05:53:52 +00:00
fvdl
2e64bebd3b
For -o linux mounts, add some code to emulate /proc/#/maps.
...
Needs NAMECACHE_ENTER_REVERSE to include filenames.
2001-03-29 22:41:52 +00:00
fvdl
87d29abbf0
defopt NAMECACHE_ENTER_REVERSE
2001-03-29 22:40:06 +00:00
fvdl
2c310ee4d5
Depending on the NAMECACHE_ENTER_REVERSE option, always enter reverse
...
mappings (vnode -> name) in the reverse mapping hash table. Without
this option, there is no change; only directories will be entered to
speed up getcwd. This is an option because it will cause getcwd
to hit longer hash chains, and at the moment its usefulness is
still limited.
2001-03-29 22:39:23 +00:00
kleink
a8aa96fa2d
Pay lip service to old sources and provide SHM_[RW] (note that these
...
are not even part of the SVID4); per discussion with Thomas Klausner.
2001-03-29 21:16:06 +00:00
fredette
cce60f68dc
Added.
2001-03-29 21:07:56 +00:00
bjh21
f6ec9b4ab2
On an 80C04, try not to start reads at addresses of the form xx,ea, xx,ee, or
...
xx,f0. This appears to heavily alleviate, but not to eliminate entirely,
the problems I've been seeing with garbage being read from the rx buffer.
I suspect the real solution lies elsewhere.
2001-03-29 20:49:44 +00:00
petrov
d6b50e1598
add fas configuration
2001-03-29 18:54:58 +00:00
bjh21
2f6fd6b040
Print a warning message when the DMA FIFO fails to fill or empty before we
...
time out.
2001-03-29 17:46:39 +00:00
tsubai
6386dedebe
When attached, do not change brightness if the value is zero.
2001-03-29 17:44:50 +00:00
eeh
cc5ddb2b20
Make `trace' useful even w/o symbols and add /f option to dump parameters.
2001-03-29 14:58:08 +00:00
joda
35fd1893df
set debug level via patchable variable, and fix some debug printf warnings
2001-03-29 10:51:16 +00:00
joda
46d4ad76ad
mnt_stat is not a pointer
2001-03-29 10:47:44 +00:00
fvdl
879b34ea8c
Don't do the ioctl call for the get hw addr case, all the work has
...
been done already.
2001-03-29 10:37:37 +00:00
jdolecek
6db03feca9
Remove unneeded #includes
2001-03-29 08:56:27 +00:00
jdolecek
2a2070aec3
kill bunch of unneeded includes
2001-03-29 08:48:55 +00:00
fredette
fb96b4d88c
Added.
2001-03-29 04:58:52 +00:00
fredette
22a64b5a3e
Added.
2001-03-29 04:35:09 +00:00
fredette
fbd8636feb
Added.
2001-03-29 04:16:21 +00:00
fredette
da500dc6be
Removed some sun3 references.
2001-03-29 04:07:54 +00:00
petrov
1c9cc1b092
use NCR_F_DMASELECT instead of ncr53c9x_dmaselect
2001-03-29 03:30:19 +00:00
petrov
ae964a3f9b
use NCR_F_DMASELECT instead ncr53c9x_dmaselect
2001-03-29 03:26:52 +00:00
fredette
6095b6e2ff
Added.
2001-03-29 03:24:19 +00:00
marcus
0640ad6ace
When the endians are little, they are little.
2001-03-29 03:23:33 +00:00
petrov
b0605f71d5
fas support added
2001-03-29 02:58:38 +00:00