Commit Graph

48574 Commits

Author SHA1 Message Date
jdolecek
230adf61d8 Installation kernel for PS/2 machines. Only wrapper around
PS2 config.
2001-07-21 13:16:23 +00:00
jdolecek
0be60fb28d remove MEMORY_DISK_HOOKS stuff 2001-07-21 13:15:00 +00:00
itojun
2990097219 repair validation on RTAX_GENMASK insertion. has been broken since 44bsd.
(freebsd3 has a fix since 1999, but has insufficient validation on sa_len)
2001-07-21 12:20:36 +00:00
ichiro
3cd8eb40b0 support to change of CRTSCTS
change uplcom_reset parameter
2001-07-20 21:03:41 +00:00
itojun
7f070caa75 sync rt_ifp check with IPv4 counterpart (see sys/net/if_ethersubr.c 1.27).
sync with kame
2001-07-20 20:26:35 +00:00
itojun
866fc79bb9 validate sa_len on equal() macro. without the change we may touch the content
of a2 beyond a2->sa_len mistakelnly.  sync with kame
2001-07-20 18:52:18 +00:00
ichiro
025f122394 use definition of memory size for physical area
0x20000000 -> SH3_P1234SEG_SIZE
2001-07-20 14:19:59 +00:00
thorpej
bb93036fa9 Regen. 2001-07-20 07:07:28 +00:00
thorpej
959f6ee3f3 Adjust for the corrected Marvell entry. 2001-07-20 07:07:05 +00:00
thorpej
38f94a6fbe Bleh, I don't like the way our miidevs works now. Repair the
Marvell Semiconductor entry.
2001-07-20 07:06:42 +00:00
thorpej
7859dd206a The EEPROM registers/bits are different on the Corkscrew (3c515). Adjust
for this.
2001-07-20 05:44:48 +00:00
thorpej
9bf4afa0b6 Add the ISA Bridge ASIC registers found on the Corkscrew (3c515). 2001-07-20 05:43:11 +00:00
hpeyerl
7ef32026cd make slash, backslash, question, and pipe (bar?) keys work on US Jornada
keyboard.

We still don't have {}[]`~ since these require the 'fn' key modifier. Same
with num-lock, caps-lock or funky british currency symbols.
2001-07-20 04:28:50 +00:00
eeh
1fead733d9 PCI overhaul. 2001-07-20 00:07:12 +00:00
eeh
93d4ebfb55 Don't fall over if the TOD clock could not be found. 2001-07-19 23:59:51 +00:00
eeh
7e8421fa5b Also attach apropriate devices named "serial". 2001-07-19 23:55:50 +00:00
eeh
0c4549ab71 Don't bother flushing cache lines for un-cached accesses. 2001-07-19 23:47:37 +00:00
eeh
b3edeb5745 Add 'ide' to the IPL table and fix things so we don't rely on the PROM
mapping things in for us.
2001-07-19 23:40:36 +00:00
eeh
76665dc463 Small code cleanup. 2001-07-19 23:38:11 +00:00
eeh
5150b485b4 Do ignore unregistered interrupts instead of faulting. 2001-07-19 23:37:17 +00:00
eeh
12fbdb7bb3 Make bus_space_debug default to off. 2001-07-19 23:35:42 +00:00
eeh
075ed881ad Print out PID and command name for alignment faults. 2001-07-19 23:33:09 +00:00
eeh
a60e790efe Make a bigger hole between kernel text and data. 2001-07-19 23:31:06 +00:00
thorpej
030941bc0d Only match the "gbus" on the primary CPU's CPU module. 2001-07-19 20:34:08 +00:00
itojun
93a890b609 it seems that pp_{up,down} code does not really help, since (1) sppp_ioctl
calls lcp.{Up,Down} by itself, and (2) as lmc driver uses interrupt to
get the card initialization callback lcp calls from sppp_ioctl
does not really work.  for chdlc pp_{up,down} are not really necessary so
don't bother (#if 0'ed).
2001-07-19 19:15:13 +00:00
assar
cb2d5b58af remove support for creating files and directories from msdosfs_mknod 2001-07-19 19:12:33 +00:00
thorpej
13e63c6a43 Take a guess and initialize the prefetch threshold to 256 bytes. Haven't
found this one in the manual yet.
2001-07-19 19:09:22 +00:00
thorpej
b0256ef005 DWLPx has a 256-byte DMA prefetch threshold. 2001-07-19 18:59:41 +00:00
thorpej
1e21ada1d9 MCPCIA has a 256 byte DMA prefetch threshold. 2001-07-19 18:55:40 +00:00
fvdl
3350f68f80 Avoid warnings about uninitialised usage. 2001-07-19 18:55:38 +00:00
thorpej
c563df226b The T2 has a 256 byte DMA prefetch threshold. 2001-07-19 18:50:25 +00:00
thorpej
e6ab362da0 The LCA isn't supposed to have a DMA prefetch threshold, but experience
has shown is that if we don't allocate a spill page, we get a machine
check.  So, initialize the threshold to 256 bytes.
2001-07-19 18:47:38 +00:00
thorpej
4c4c88dbb7 ALCOR/ALCOR2/PYXIS have a 256-byte DMA prefetch threshold. 2001-07-19 18:42:42 +00:00
thorpej
908464bef9 APECS has a 256 byte DMA prefetch threshold. 2001-07-19 18:39:29 +00:00
thorpej
63bc6c1370 Since the SGMAP buffer load subroutine doesn't need to modify
the segment index, don't pass it by reference.
2001-07-19 18:20:20 +00:00
scw
b4c68ef164 Descend into wrtvid in all but the install pass. 2001-07-19 18:18:30 +00:00
thorpej
77e1f86ad4 Implement dmamap_load_uio for SGMAPs. 2001-07-19 18:08:54 +00:00
kleink
d775ce82eb Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:47:18 +00:00
kleink
1bd93b6232 Hint BUS_DMA_READ and BUS_DMA_WRITE. 2001-07-19 17:19:40 +00:00
thorpej
e60fffea3b Pay attention to BUS_DMA_READ; don't need to allocate a spill
page if it is set.
2001-07-19 17:08:44 +00:00
itojun
b66f433b03 sync with latest Linux driver, avoid framing error on LMC1200 (T1/E1).
from hal@vailsys.com
2001-07-19 17:02:05 +00:00
thorpej
44e529fecc Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:36:14 +00:00
itojun
e13c617dee do not call pp_{up,down} on cisco HDLC mode, it seems that
sys/net/if_spppsubr.c does not like it.
XXX api clarification needed...
2001-07-19 16:30:52 +00:00
thorpej
623f83a793 Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:25:23 +00:00
itojun
639dfc8d8f readability changes (s/0/LMC_LINK_DOWN/, whitespace) 2001-07-19 16:14:50 +00:00
wiz
1bc6d2cee9 Fix typo (`information' has an 'r'). 2001-07-19 16:13:00 +00:00
wiz
4124ef0b6c Fix comment (device has a 'c'). 2001-07-19 16:12:21 +00:00
itojun
abd116eff5 - on IFF_UP change, inform sys/net/if_spppsubr.c of the change so that
we can run LCP and subsequent PPP negotiation.
- suppress too noisy printf() for about AIS event (if you remove the cable,
  it will bark forever).
- sppp_dequeue() can return NULL even when sppp_isempty() is false, so check
  it and do not deref NULL pointer.
- sppp_flush() on LMC interface shutdown.
- prepare to change BPF type on the fly (bpf_change_type).
2001-07-19 15:38:17 +00:00
thorpej
babefc5331 Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
thorpej
b70733d358 Since DMA frobbing can be done at interrupt time by devies at
multiple levels, protect the extent map w/ splvm().
2001-07-19 14:26:54 +00:00
sato
9ae3738ab5 adhoc battery event creation for some vr machines.
XXX: temporary
2001-07-19 13:11:27 +00:00
sato
98f091d6b9 add hpcmips battery parameter tables. 2001-07-19 11:40:19 +00:00
sato
8e381812a7 battery parameter structures for hpc systems. 2001-07-19 11:39:24 +00:00
sato
ab7530a18b change BATTERY event order. 2001-07-19 11:38:01 +00:00
sato
b9d7f75a06 add more BATTERY events. 2001-07-19 11:36:07 +00:00
augustss
fa4d95379a Prototype for aue_reset_pegasus_II(). 2001-07-19 09:40:40 +00:00
thorpej
18490eff62 Add support for mbufs to the Alpha SGMAP DMA maps. 2001-07-19 06:40:01 +00:00
thorpej
8617f2c7f5 Simplify the SGMAP code a bit, and move SGVA allocation out of a
common routine into the individual load routines, since each load
routine needs to muddle with the "internals" of this operation.

Add a `prefetch threshold' member to the bus_dma_tag_t, so that
eventually we can determine whether or not to allocate a spill
page on a per-mapping basis.
2001-07-19 04:27:37 +00:00
oster
fd5247de51 By adding a well-placed space or two, 'make depend' no longer loses
due to a directory name like 'arc.current' messing up a sed substitution.
2001-07-19 01:46:15 +00:00
enami
661cd5d582 No need to clear part of struct rt_addrinfo in rt_xaddrs() since the only
caller clears whole the struct.
2001-07-19 00:12:09 +00:00
thorpej
09ab6c5da8 Duh, to set the user stack pointer, you have to frob the PALcode PCB,
not the trap frame.

Fixes clone(2) on the Alpha.
2001-07-18 22:22:49 +00:00
thorpej
6af9e1cf38 Print the stack pointer on a user unaligned access fault. 2001-07-18 22:22:02 +00:00
thorpej
600cfcb30a bcopy -> memcpy 2001-07-18 20:52:47 +00:00
thorpej
42a4d5b520 bcmp -> memcmp 2001-07-18 20:42:54 +00:00
thorpej
ce623a36cc bzero -> memset 2001-07-18 20:39:53 +00:00
bouyer
f18f3b2d4c Add SCBUSIODETACH ioctl. 2001-07-18 20:20:16 +00:00
bouyer
f2cacede49 Adn scsipi_target_detach() and scsipi_thread_call_callback() as discussed
on tech-kern. scsipi_target_detach() accept wildcard target/lun as requested.
2001-07-18 20:19:24 +00:00
thorpej
e21d5026ef Add support for the __WALL wait4(2) flag. 2001-07-18 19:11:14 +00:00
thorpej
f20822333e Add `WALLSIG' which causes wait4(2) to wait for all processes, regardless
of exit signal.  Add Linux-compatible aliases __WCLONE (for WALTSIG) and
__WALL (for WALLSIG), for compatibility with the Linux clone(2) API.
2001-07-18 19:10:26 +00:00
thorpej
aafd882086 bcmp -> memcmp 2001-07-18 18:27:08 +00:00
thorpej
38bdc75312 bcopy -> memcpy 2001-07-18 18:25:41 +00:00
thorpej
03746a443a bzero -> memset 2001-07-18 18:21:04 +00:00
kleink
0b2a6b7929 Prevent trad. cpp recursion; from Katsuomi Hamajima in PR kern/13479. 2001-07-18 17:29:53 +00:00
scw
eef68ab123 In bus_dmamap_sync4060(), fold the POSTREAD case into the PREREAD case
where it belonged in the first place.
2001-07-18 17:21:49 +00:00
scw
6a9bccd130 Make absolutely sure page tables are not cacheable on 040/060 cpus.
(Not strictly required for the 040, but mandatory for the 060).
Also revamp cache enable/disable functions for the benefit of
bus_dmamem_map().
2001-07-18 17:18:53 +00:00
scw
db111a0133 Restore FPU context properly on 68060-specific kernels... 2001-07-18 17:13:15 +00:00
thorpej
cb6f78fe5d bcopy -> memcpy 2001-07-18 16:53:52 +00:00
mrg
5beff52e9c port this to sparc64. 2001-07-18 16:53:34 +00:00
thorpej
c620771702 bzero -> memset 2001-07-18 16:51:39 +00:00
thorpej
05b5ee3074 bzero -> memset, bcopy -> memcpy 2001-07-18 16:50:27 +00:00
thorpej
cbf41a143a bzero -> memset 2001-07-18 16:43:09 +00:00
rjs
c1539a6ba2 Add Jazelle mode flag. 2001-07-18 16:31:17 +00:00
thorpej
682dacc0ca bzero -> memset 2001-07-18 16:12:31 +00:00
thorpej
de6142b85a Slight tweak to previous; C requires a statement after a label. 2001-07-18 15:24:24 +00:00
itojun
8c9f492242 do not malloc() during interrupt context for IPv6 multicast kludge table.
malloc() during interface initialization.  sync with kame
2001-07-18 13:12:27 +00:00
onoe
2bc04d9140 revert 2 of 3 in previous commit.
empty default is needed to make gcc happy.
2001-07-18 10:39:28 +00:00
itojun
fc35f336c7 sync with draft-ietf-ipngwg-p2p-pingpong-00.txt. apply special behavior
only if ip6_dst is "neighbor" within p2p prefix.  sync with kame
2001-07-18 09:24:26 +00:00
thorpej
1071f796f4 bcopy -> memcpy 2001-07-18 06:51:38 +00:00
thorpej
f2f13262df bzero -> memset 2001-07-18 06:48:27 +00:00
thorpej
228b23427f bcmp -> memcmp 2001-07-18 06:46:46 +00:00
thorpej
cf56c44a86 bzero -> memset 2001-07-18 06:45:33 +00:00
matt
b499a7d558 Add -Wno-main since this is a standalone program. 2001-07-18 05:37:55 +00:00
thorpej
33d6023447 Unshare signal actions on exec.
From Matthew Orgass <darkstar@pgh.net>.
2001-07-18 05:34:58 +00:00
thorpej
35c5abaeff Unshare the file descriptor table and `cwdinfo' when we exec.
From Matthew Orgass <darkstar@pgh.net>.
2001-07-18 05:34:37 +00:00
simonb
19014d376c Modernise data and stack size limits. 2001-07-18 04:15:55 +00:00
onoe
b7ff292c17 make it compilable:
fw_verbose, fw_dump -> fwdebug (DPRINTFN)
	add sc1394_ifsetiso into ieee1394_softc
2001-07-18 02:59:54 +00:00
onoe
69b6def907 Do not copy first keys into four key entries; the bug was introduced in 1.17 2001-07-18 02:06:44 +00:00
thorpej
17538b3790 Costmetic change. 2001-07-18 01:10:09 +00:00
matt
7fa8aeac6c When we auto size the vnode cache, make sure we do it *before* we
init vfs so it can the size into account when creating its hash lists.
This means that for a 2GB system, it'll have a default of 65536 buckets
instead of 2048 and when you have 200,000+ vnodes that makes a significant
difference.
2001-07-18 00:51:54 +00:00
thorpej
909084d90f Protect userland from the inlines and kernel variable decls. 2001-07-17 20:54:58 +00:00