takemura
44e4c53338
Add MQ200_USECRT option, which enables CRT output on MC/R530.
...
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
2001-03-25 13:06:52 +00:00
takemura
bea77d06a2
Add #ifndef _HPC_PLATID_H_.
2001-03-25 12:17:35 +00:00
itojun
2fb1887b31
re-initialize mopt in ip6_insert_jumboopt(). sync with kame
...
From: csapuntz@stanford.edu
2001-03-25 09:58:43 +00:00
jdolecek
fda74a0b78
add pcmb (i386)
2001-03-25 09:56:15 +00:00
jdolecek
b53fce84d3
Add an autoconfig node for PCI-MCA bridges. Configures MCA bridges
...
via callback. This beast is very rare, present only on some IBM PCs.
Code was copied off pceb.
2001-03-25 09:54:10 +00:00
itojun
0c8d8ae7a0
couple of missing splx. sync with kame.
...
From: csapuntz@play-doh.stanford.edu (Constantine Sapuntzakis)
2001-03-25 09:06:03 +00:00
ross
5b36d84a9c
Don't panic until DEFCON 1.
2001-03-25 06:38:50 +00:00
nathanw
a45ca84ab5
Verbose display of machine check errors on AS200/400 boxes.
2001-03-25 05:52:38 +00:00
jmc
06fc8b2014
Actually fix fwlynx correctly. Got the right filename this time.
2001-03-25 03:48:36 +00:00
matt
0abec5d217
Allow the default NFS_RSIZE and NFS_WSIZE to be overriden.
2001-03-25 02:22:30 +00:00
bjh21
a995ac4f75
eb is MI now, too.
2001-03-25 01:10:39 +00:00
bjh21
8edd158910
MI(ish) EtherB driver using the MI SEEQ 8005 driver. Very lightly tested.
2001-03-25 01:09:36 +00:00
bjh21
0ac712a013
Remove obsolete #defines.
2001-03-25 01:08:56 +00:00
bjh21
39c267bb01
Tweak handling of multicast on 80C04. I think we need to set the match mode
...
to "multicast" for it to work, but I could be wrong.
Also make ALLMULTI work on 80C04, but this is untested.
2001-03-25 01:06:59 +00:00
bjh21
cbe4d910da
It might be useful if I actually filled in the interrupt handle for
...
podulebus_irq_establish() to use.
2001-03-25 00:56:58 +00:00
bjh21
56ac2cf6bc
Supply the extra arguments that seeq8005_attach() now needs.
2001-03-24 23:37:34 +00:00
bjh21
304809f5f1
Re-arrange board memory to suit the current (crude) transmit code.
...
Add ea_writembuf() from mark's code, and re-work eatxpacket() to use it.
2001-03-24 23:31:06 +00:00
thorpej
a9d20501af
Remove a comment; this module has not been compatible w/ BSD/OS's
...
for quite a long time.
2001-03-24 20:44:26 +00:00
bjh21
b94b953e92
Enormous pile of changes from mark's (uncommitted) work on this driver.
...
About the only bit of his code not here is the transmit routines, which I'll
merge in separately.
Also a few bug-fixes, so (for instance) multicast on an 8005 doesn't
immediately fall back to IFF_ALLMULTI.
2001-03-24 20:38:41 +00:00
briggs
2dbd96c75c
There is no need to accept all ARP packets (regardless of destination
...
address) on the DP83815. Noted by Shiva Shenoy <shiva@riverstonenet.com>
in private correspondence.
2001-03-24 19:40:51 +00:00
matt
f283c0a504
Use ${THISSH3} instead of ../.. ; not everyone builds in ../compile/FOO
2001-03-24 18:26:11 +00:00
uch
2f3cc13258
add HP 620LX Japanese model keymap.
2001-03-24 17:33:12 +00:00
sato
c5956b89f8
change backlihght parameter value type to int8_t.
2001-03-24 16:08:36 +00:00
sato
8c78f7fad3
add vrc4172pwm for MC/R520A(MobilePro770)
2001-03-24 15:56:59 +00:00
sato
1907b28be1
add MobilePro770(MC/R520A) parameters.
2001-03-24 15:53:37 +00:00
bjh21
b83b8ac01f
Change all the register definitions to match the names using in mark's
...
improved version of the driver.
2001-03-24 13:40:41 +00:00
bjh21
2e51f5568b
Get podulebus includes from the right place.
2001-03-24 12:58:51 +00:00
martin
478c6ce6b9
Adjust to new hardware driver <-> isdn layer 2 and above sheme.
2001-03-24 12:45:15 +00:00
martin
5171d409a5
First step to cleanup the hardware driver <-> upper layers interface.
...
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.
To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.
Functional changes:
Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.
Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).
While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.
2001-03-24 12:40:29 +00:00
jdolecek
569cf4b764
Use parent's vmspace in linux_e_proc_fork() hook, the child does not
...
have vmspace setup yet. This fixes lossage discussed on current-users,
thread "hard lockups with -current and Netscape", and should fix
kern/12433 by <kawamoto@tenjin.org>, maybe also kern/12455.
XXX Threads forked via linux_sys_clone() should share the brk value
XXX if they share vmspace. This needs to be implemented.
2001-03-24 11:13:04 +00:00
jdolecek
887a4368ce
regen
2001-03-24 09:48:39 +00:00
jdolecek
c86a2420fb
Add couple AT1720 entries
2001-03-24 09:48:11 +00:00
briggs
132a113507
Do not hardcode the kernel segment register, and do not load the kernel
...
segment register in pmap_activate().
2001-03-24 05:30:57 +00:00
christos
728aee3ccb
Some bios's when apm is disabled [or even some functions of it are disabled],
...
they keep giving error 0x30b. Unfortunately this keeps happening every second
making the console unusable. Keep track of the last error that occurred and
if the last 10 times apm was called the same error was returned, give up and
exit the apm thread.
2001-03-24 02:07:54 +00:00
christos
3319b05361
There was a stray debugging message "OptionMode = %x\n". Prefix it with
...
the device name, and enable it only in debugging mode.
2001-03-24 02:04:40 +00:00
bjh21
18db220fba
Handle IFF_ALLMULTI correctly. We can now cope with multicast, but for
...
some reason DAD fails when starting IPv6.
2001-03-24 00:16:41 +00:00
bjh21
de791f82d8
"ea" is now borderline MI.
2001-03-24 00:15:38 +00:00
bjh21
8bd452c648
Create an MI Ether3 driver. It's derived from the arm26 driver, which uses
...
my MI SEEQ 8005 driver, which is based on the arm32 ea driver.
2001-03-24 00:14:52 +00:00
bjh21
2714607c72
Add podulebus_shift_tag, which generates a bus_space_tag_t with a specified
...
address shift (stride). This is necessary because many podules have standard
chips with odd address-bus wiring to allow for using LDM for
bus_space_*_multi_*().
2001-03-24 00:10:42 +00:00
briggs
70f969e600
if_wereg.h is no longer here.
2001-03-23 23:14:32 +00:00
fvdl
ad5dcb280f
Same change as in the UFS code: unlock vnode before setting v_op
...
to spec_vnode_ops. From Bill Studenmund.
2001-03-23 21:10:48 +00:00
jdolecek
d0b4b2499f
regen
2001-03-23 20:04:51 +00:00
jdolecek
7fe8df83a3
cosmetic change for autoconf printing: for memory extension cards,
...
just print ": configured" if they are enabled; they don't need any
special driver to work, printing "not configured" might be confusing
2001-03-23 20:04:28 +00:00
jdolecek
c3ba22cf5f
Forgot this one:
...
if_we.c was split and ISA-specific part is now in if_we_isa.c,
we(4) device is defined in conf/files.
2001-03-23 19:41:34 +00:00
jdolecek
75b7bea508
Add MCA we(4) attachment for WD80x3 cards and clones. Tested with
...
WD8003W/A, card provided by David Brownlee (thanks!). The SMC Elite stuff not
tested since I don't have any; hopefully it's correct, should match
information in ADF files.
The MCA-specific init quirk taken from Linux smc-mca.c driver.
I don't quite grok why it works, but it does *cross fingers*.
The WD8003W/A seems to be quite a good choice. I get like 340KB/s on my
machine, where 3c523 does only like 310KB/s. The numbers would be probably
even better with faster CPU than 386DX :)
2001-03-23 19:25:35 +00:00
jdolecek
ffd34612c2
Split we(4) driver to bus independant and ISA-specific parts, in preparation
...
for MCA attachment.
2001-03-23 19:08:53 +00:00
jdolecek
43b0593b91
regen
2001-03-23 18:12:45 +00:00
jdolecek
593eb4314b
Change names of WD80x3x cards to what is in ADF's at
...
http://members.aol.com/mcapage1/adflist1.htm
Add couple IBM WD80x3x clones
Arrange so that appropriate defines are generated for WD80x3x cards
2001-03-23 18:12:13 +00:00
jdolecek
6d79f8ce1e
Split we(4) driver to bus independant and ISA-specific parts, in preparation
...
for MCA attachment.
2001-03-23 17:34:41 +00:00
fvdl
2e3722d635
Remove a debugging printf.
2001-03-23 14:11:39 +00:00
is
b1e3063f0b
Move tx chain result handling into iystart(). This way, ww normally only
...
need an interupt when the hardware hits tx chain end. We switch on one
int per packet sent when we fill up and go into OACTIVE mode.
Measured total interupt savings on large NFS writes: 20%.
2001-03-23 13:15:27 +00:00
fvdl
509b0d01a5
Do an explicit VOP_UNLOCK in ufs_vinit before setting v_op to
...
spec_vnode_ops_p. Workaround for a lock leak. Problem tracked
down by der Mouse.
2001-03-23 12:15:34 +00:00
toshii
d2f3ad2de2
Support machdep.booted_kernel sysctl.
2001-03-23 11:10:10 +00:00
sato
8f5f11180a
o add sysctl machdep.booted_kernel support.
...
o add sysctl machdep.root_devoce support.
2001-03-23 11:09:49 +00:00
tsubai
95a27e3b60
Remove devices which don't exist on floppy based models.
...
Now boot floppy fits 1.4MB again.
2001-03-23 09:30:49 +00:00
toshii
7ed6dadd10
Handle bootargs passed by hpcboot.
...
Change stack pointer initialization.
2001-03-23 08:58:14 +00:00
toshii
3bf1867147
Rebuild after the bootarg change.
2001-03-23 08:51:23 +00:00
toshii
59b3c088fe
Pass bootargs like usual function calls.
...
Initialize sp register to more useful value.
2001-03-23 08:48:12 +00:00
toshii
07b77f05ce
Have LINEBYTES for jornada720.
2001-03-23 08:46:56 +00:00
lukem
b240b7a4e1
#ifdef KGDB, call kgdb_connect(1) if KS_Cmd_Debugger (a la ddb invoking
...
console_debugger() in the same situation).
this makes it easier to get remote kgdb going if you forget to use boot -d.
2001-03-23 04:22:36 +00:00
simonb
5aa49b6404
Delete unused uvtopte() macro.
2001-03-23 01:27:59 +00:00
petrov
b47f68b66c
fix 'show registers' mis-aligned access, PR11580
2001-03-22 22:20:28 +00:00
manu
ea545137cc
Added a missing native to linux signal number translation in linux_sendsig(),
...
when building the trap frape
2001-03-22 22:10:04 +00:00
uch
51243a1c74
add Hugarian and German keymap
...
patch by Laszlo Szabo <rka@rka.hu>
2001-03-22 18:37:32 +00:00
uch
40de0e48b0
add ELF kernel linker script.
2001-03-22 18:35:33 +00:00
uch
5a79dd1121
load symbol table to DDB if ELF kernel.
2001-03-22 18:34:08 +00:00
uch
7060cad775
recompile.
2001-03-22 18:30:49 +00:00
uch
4e6c980fa0
add HD64461 UART serial console.
...
add SH3 SCI console method
add SH3 TMU register dump
use generic serial console when companion chip is unknown.
2001-03-22 18:27:51 +00:00
uch
a7876b44d8
add file logging method.
2001-03-22 18:26:45 +00:00
uch
044f4eb367
fix calcurating kernend bug.
2001-03-22 18:23:08 +00:00
uch
87aeed6110
fix file handle leek.
2001-03-22 18:21:02 +00:00
uch
bf58a25f9b
weakly machine dependent configuration moved to machine_config.cpp
2001-03-22 18:20:35 +00:00
uch
62bef7c830
fix file pointer bug.
2001-03-22 18:19:36 +00:00
uch
f0190d355c
add machine independent serial console method. (use WinCE API)
2001-03-22 18:19:09 +00:00
uch
985f960311
add HP Jornada 690 Hungarian, German entry and
...
my target machines (CASIO Cassiopeia A-55V, HITACHI PERSONA HPW-650PA).
2001-03-22 18:16:13 +00:00
jdolecek
031c6d8c24
Add MCA ep(4) attachment, for 3Com 3c529-type cards. Tested with 3c529-TP,
...
provided to me by David Brownlee (thanks!).
Performance of this card is quite poor on my PS/2 with 386DX, like 100KB/s
at best, but as low as 5KB/s when transferring bigger files due to
packet overruns. It would be good to revisit this later, probably by
teaching the ic code to use RX Early.
2001-03-22 16:54:45 +00:00
mrg
74786e7894
remove overzealous locking changes.
2001-03-22 15:56:43 +00:00
is
fe9376e508
Oops. We _do_ need to receive broadcasts. At least as long as we want ARP.
2001-03-22 14:30:47 +00:00
minoura
23d323f4f9
Sync with amiga 1.15.
...
Make this compile again (when building the LKMs).
2001-03-22 12:47:11 +00:00
minoura
b711716241
A bit of ELF support. From scw.
2001-03-22 12:46:19 +00:00
jdolecek
4ffa6a80d6
convert to use ether_ioctl()
...
fix bunch of typos
2001-03-22 12:00:26 +00:00
itojun
c35e5ed1b2
do not dereference p_vmspace, if it is not initialized yet (NULL).
2001-03-22 08:26:14 +00:00
matthias
2282e42ec2
Fix type in pliptransmit declaration (C version). Noticed by
...
Tyrel Beede <tb90@mail.csuchico.edu>.
2001-03-22 08:14:23 +00:00
mrg
0fa02bb6e6
sync with sparc64.
2001-03-22 06:21:43 +00:00
mrg
e563dea3f6
sync with sparc64 (just some debug messages.)
2001-03-22 06:21:15 +00:00
lukem
b4e2b14fe6
convert to ANSI KNF
2001-03-22 04:52:25 +00:00
tsubai
ce8902b7fe
Merge my MP tree. At this point, Daystar dual 604 card (i.e. Power Macintosh
...
9500/180MP and 9600/200MP) runs at least into single-user mode, possibly
multi-user mode (not stable yet).
2001-03-22 04:11:46 +00:00
toshii
2d6322c3be
Handle ELF symbol table.
2001-03-22 03:45:39 +00:00
lukem
9f60674a47
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
...
defs for: lpt, joy, pc
2001-03-21 23:42:14 +00:00
lukem
723cd818d8
move duplicate definitions for:
...
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
itojun
3e898c9239
in nd6_cache_lladdr(), set nd6_gctimer to ln_expire just after the state
...
transition to STALE. fixes tahi test breakage. sync with kame.
2001-03-21 21:56:29 +00:00
ragge
4a933b0a25
VAX_STYP_690 added, from Lord Isildur.
2001-03-21 21:11:13 +00:00
thorpej
93d642a1b3
1.5T -- PR_ABRTACPTDIS in protosw.
2001-03-21 19:43:05 +00:00
thorpej
20fe4e2d96
Add a protosw flag, PR_ABRTACPTDIS (Abort on Accept of Disconnected
...
Socket), and add it to the protocols that use that behavior (all
PR_LISTEN protocols except for PF_LOCAL stream sockets).
2001-03-21 19:22:27 +00:00
itojun
4ce63adb1e
do not inject packets to ipfilter, if the packet went through IPsec tunnel.
...
http://www.netbsd.org/Documentation/network/ipsec/#ipf-interaction
2001-03-21 19:12:56 +00:00
soren
912c115675
s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.
2001-03-21 18:40:28 +00:00
soren
1d7d1bd0db
Regen.
2001-03-21 18:10:34 +00:00
soren
984c03180f
Lower-case a few hex digits for easier searching.
2001-03-21 18:10:13 +00:00
toshii
7e9512010c
Oops. I forgot this line.
2001-03-21 17:43:39 +00:00
toshii
4b32677535
Map DMA controller and disable its DMA channels.
2001-03-21 17:42:37 +00:00
toshii
f8dab8e69a
Make card insertion/removal work.
...
XXX powerdown and {io,mem}_unmap are still missing.
2001-03-21 16:16:35 +00:00
toshii
7c429e90c2
Handle interrupt polarity.
2001-03-21 16:08:34 +00:00
toshii
f1b9737b90
Fix nit.
2001-03-21 14:48:30 +00:00
toshii
d16849a006
Make this compile again.
2001-03-21 14:40:00 +00:00
tsutsui
a13921cd57
Remove -DVM86 from CPPFLAGS.
2001-03-21 14:38:16 +00:00
ad
fad8449663
Decrease the timeouts on QUEIESCE and CLEAR lest the adapter doesn't reply.
2001-03-21 14:27:05 +00:00
toshii
b0b31f8cfc
Rebuild binaries after ELF symbol table support.
2001-03-21 14:18:28 +00:00
tsutsui
8c60f09e43
- Use ${PRINTOBJDIR}
...
- size -> ${SIZE}
2001-03-21 14:08:03 +00:00
toshii
358a8ee71a
Load ELF symbol table for DDB.
2001-03-21 14:06:25 +00:00
toshii
5b519fb0f9
Fill in framebuffer address for jornada720.
2001-03-21 14:05:10 +00:00
tsutsui
45480ac3bc
Move rules to create m68k and machine symlinks to common Makefile.inc.
2001-03-21 13:43:58 +00:00
tsubai
577fa61b83
Enable interrupts before calling interrupt handler(s).
2001-03-21 11:38:39 +00:00
tsutsui
34e44075e0
- Remove "NOMAN= yes"
...
- Use "WARNS?= 1" rather than add warning options to COPTS.
2001-03-21 11:08:52 +00:00
tsutsui
650e6506dc
Remove "NOxxx= yes" lines since "MKxxx= no" is enough.
2001-03-21 11:02:24 +00:00
tsutsui
9ae0cb4d12
Make sure to create m68k and machine symlinks to include loadfile_machdep.h.
2001-03-21 10:58:54 +00:00
mrg
47e6a41505
only lock the kernel around sy_call if !SYCALL_MPSAFE
2001-03-21 09:01:16 +00:00
bouyer
be5f917514
Add a small delay before reset at attach time, required by one old ATAPI
...
CD. Reported by Onno van der Linden.
2001-03-21 08:44:14 +00:00
itojun
93b8b31feb
set rmx_mtu to L2 interface mtu, instead of 0, on mtudisc timeout.
...
ip6_output() change is for safety. sync with kame
2001-03-21 07:52:13 +00:00
chs
5947ce8284
make this compile without rnd.
2001-03-21 03:35:11 +00:00
chs
11fe9ca446
use ubc_winshift instead of ubc_winsize in pmaps to set up kernel
...
virtual space. the latter isn't initialized yet when the value is needed.
fixes PR 12440.
2001-03-21 03:16:05 +00:00
mrg
af58b235e0
adapt to systems with out interrupt-map & interrupt-map-mask properties.
2001-03-21 01:33:47 +00:00
hubertf
b11582be50
regen for trident cyberclade
2001-03-21 01:10:06 +00:00
hubertf
d54969d21f
Add Trident CyberBlade as found in Toshiba Satellite Pro 4600
2001-03-21 01:09:36 +00:00
pk
b54ea24924
Merge in4_cksum().
2001-03-21 00:38:47 +00:00
bjh21
de59def2f2
Remove spurious #define mod_base.
2001-03-20 23:29:07 +00:00
bjh21
998606396f
Move struct podule_list and struct podule_description to podulebus.h.
...
They're MI, even if only arm32 actually uses them at present.
2001-03-20 23:27:04 +00:00
bjh21
86d6442c28
Move machine-dependent podulebus headers to <machine/podulebus_machdep.h>.
...
<dev/podulebus/podulebus.h> is the canonical file to include, and includes
<machine/podulebus_machdep.h>.
<arch/${MACHINE}/poudulebus/podulebus.h> remains for backward compatibility.
2001-03-20 22:59:39 +00:00
bjh21
61e80eef9b
As Richard Earnshaw pointed out, bus_space_copy_1() and bus_space_copy_2()
...
had the wrong names and did the wrong things. Both are now fixed.
2001-03-20 22:56:16 +00:00
augustss
2ff439c85c
Add quirks for Panasonic MultiMediaCard adapter (attaches via USB).
2001-03-20 22:39:51 +00:00
augustss
93b623b541
Extend quirks to 32 bits. Add two new ATAPI quirks, one to
...
deal with a bad byte5 of the capacity descriptor, one to
handle devices that lack the flex geometry page.
2001-03-20 22:39:08 +00:00
thorpej
7a3c8f81a5
Two changes, designed to make us even more resilient against TCP
...
ISS attacks (which we already fend off quite well).
1. First-cut implementation of RFC1948, Steve Bellovin's cryptographic
hash method of generating TCP ISS values. Note, this code is experimental
and disabled by default (experimental enough that I don't export the
variable via sysctl yet, either). There are a couple of issues I'd
like to discuss with Steve, so this code should only be used by people
who really know what they're doing.
2. Per a recent thread on Bugtraq, it's possible to determine a system's
uptime by snooping the RFC1323 TCP timestamp options sent by a host; in
4.4BSD, timestamps are created by incrementing the tcp_now variable
at 2 Hz; there's even a company out there that uses this to determine
web server uptime. According to Newsham's paper "The Problem With
Random Increments", while NetBSD's TCP ISS generation method is much
better than the "random increment" method used by FreeBSD and OpenBSD,
it is still theoretically possible to mount an attack against NetBSD's
method if the attacker knows how many times the tcp_iss_seq variable
has been incremented. By not leaking uptime information, we can make
that much harder to determine. So, we avoid the leak by giving each
TCP connection a timebase of 0.
2001-03-20 20:07:51 +00:00
reinoud
df2b9ae2bd
Initial commit of wscons for the RiscPC/A7000 arm32 family. There is still lots
...
to do notably the mouse, some issues about 4 bpp modes and most of all Xwscons !
This code will still allow usage of the old vidcconsole complete with X etc.
Note that the wscons code can now only be booted with the new bootloader but
kernels compiled with vidcconsole can still be booted the old way.
2001-03-20 18:20:53 +00:00
toshii
1f21d8b280
hpcarm kernel is ELF.
2001-03-20 18:01:49 +00:00
bouyer
66f705d045
Don't set up PDC2xx_SCR the same way for promise Ultra/66 & Ultra/100,
...
this special setup seems to break some adapters.
Reported by Kazushi Marukawa.
2001-03-20 17:56:46 +00:00
bouyer
df43ec1064
Add BUS_DMA_STREAMING for the data bus_dmamap_load().
2001-03-20 17:54:39 +00:00
uch
b4095cd8bf
support HITACHI PERSONA configuration.
2001-03-20 16:05:42 +00:00
uch
889e6d332a
initialize TMU
2001-03-20 16:04:01 +00:00
uch
39081f8af1
make HD64461 UART module usable on HITACHI PERSONA
2001-03-20 16:03:28 +00:00
tsubai
dc7eafe744
Redo previous. Instead of defining another type, mask upper bits of pvr.
2001-03-20 15:52:07 +00:00
reinoud
d7858fb571
Add RiscPC (arm32) keyboard. It basicly returns AT scancodes but since it has to
...
use a seperate keyboard driver (pckbdc not available) i cant guarantee that it is
100% compatible with AT scan codes
2001-03-20 15:51:18 +00:00
pk
4cefebdf8d
Fix fall-out from previous change: the map's DMA address is valid only
...
after bus_dmamap_load().
2001-03-20 15:39:20 +00:00
reinoud
482f11868a
Added dependency for "VIDCCONSOLE" (old console code) for the physcon char
...
device on console (makedev(4,0)) to aid in wscons transition.
2001-03-20 15:39:16 +00:00
ad
056ea0d17a
+#include <dev/i2o/iopio.h>
2001-03-20 13:21:00 +00:00
ad
ef80e73a4e
Split limits and ioctl defs out of iopvar.h.
2001-03-20 13:02:25 +00:00
ad
ebf5110997
Major update; basically, improve performance somewhat and play nicer with
...
Intel and AMI IOPs. There still exists one nasty problem with Intel adapters
when under load, which I'm working on.
2001-03-20 13:01:48 +00:00
reinoud
adbed15428
Replace `bitsperpixel' by `log2_bpp' for thats the value that is in it
...
and not the number of bits per pixel !
2001-03-20 12:52:03 +00:00
reinoud
e8f67fd5b7
`bitsperpixel' in the bootconfig structure is replaced by `log2_bpp'
...
for thats the value that is in it anyway and not the number of bits per pixel !
This to avoid confusion.
2001-03-20 12:50:08 +00:00
reinoud
2ac5b2f7cf
Replace `bitsperpixel' by `log2_bpp' for thats the value that is in it
...
and not the number of bits per pixel !
2001-03-20 12:48:37 +00:00
matt
96184e84cf
Add a diagnostic when we encounter an unknown boot device type.
2001-03-20 05:51:35 +00:00
lukem
7fec679447
sync to GENERIC 1.400
2001-03-20 05:49:32 +00:00
lukem
4ed1ad8e29
A generic implementation of the Fowler/Noll/Vo hash (FNV hash),
...
as described at:
http://www.isthe.com/chongo/tech/comp/fnv/
This was implemented for FreeBSD by Peter Wemm.
2001-03-20 02:10:18 +00:00
mrg
b10a79d548
regen
2001-03-20 00:41:19 +00:00
mrg
f921de978d
add sun device ids found on sunblade1000 systems.
2001-03-20 00:39:12 +00:00
bjh21
b4d35ec9a7
ei(4) is now MI, in a limited sense at least.
2001-03-20 00:15:26 +00:00
bjh21
0fe2c0aedc
These have moved to sys/dev/podulebus.
2001-03-20 00:13:16 +00:00
bjh21
2c4e09f4c9
Revert last change, which shouldn't have applied to this file.
2001-03-20 00:04:28 +00:00
bjh21
23836945a3
Redefine bus_space_addr_t to be a raw address, for compatibility with arm32
...
podulebus drivers.
2001-03-20 00:03:10 +00:00
bjh21
34cca2e23e
Pull in shared podulebus drivers.
2001-03-20 00:01:37 +00:00
bjh21
90567f2deb
Quick hack to pull in podulebus.h for the current architecture.
...
This should be done better (probably with <machine/podulebus_machdep.h> later.
2001-03-19 23:59:33 +00:00
bjh21
66261e4fd6
Shared arm26/arm32 version of arm26 Ether1 driver. Seems to work on both
...
architectures.
2001-03-19 23:58:12 +00:00
bjh21
2821b16ef4
Quick hack implementation of region ops. Not very pretty, but good enough
...
to get ei(4) working on arm32.
2001-03-19 23:56:45 +00:00
bjh21
4d5762c860
This file depends on <machine/io.h>.
2001-03-19 23:03:59 +00:00
bjh21
e7cc62cc44
A few #defines for the common podulebus API.
2001-03-19 22:59:13 +00:00
rearnsha
51e6b460ab
Slightly smaller code and tune for StrongARM.
2001-03-19 22:51:51 +00:00
jdolecek
3dfa223aa3
Stylistic nit - don't use mca_devinfo(), print the info directly, we know
...
what we are attaching.
2001-03-19 22:33:35 +00:00
jdolecek
8a2d4dc652
regen
2001-03-19 22:24:17 +00:00
jdolecek
198b90eb12
Add entry for ATI AT1720T, another card I've got from David Brownlee.
2001-03-19 22:23:58 +00:00
jdolecek
e6d6148e4d
regen
2001-03-19 22:20:30 +00:00
jdolecek
4f0e120ebb
Add couple of Computone products; I looked up ADF for 0x61f3 (which
...
I am owner of) and found couple others as well.
Mark 3c529-type cards and IBM Internal modem for inclusion in mcadevs.h.
2001-03-19 22:20:05 +00:00
jdolecek
1360c6c34c
add com at mca, bpfilter
...
add comment for elmc, describing what it is for
2001-03-19 22:08:17 +00:00
jdolecek
40d893a3f7
remove bogus ef entry
2001-03-19 21:58:09 +00:00
jdolecek
1c341b3d49
Provide MCA com(4) attachment. Tested with IBM Internal modem, kindly
...
donated to me by David Brownlee <abs@anim.dreamworks.com>.
2001-03-19 21:56:43 +00:00
bjh21
1c300d3ee8
Make pa_*_base bus_addr_ts.
2001-03-19 21:03:47 +00:00
tsutsui
7ba79ec9f4
Switch news68k to ELF:
...
- Move options EXEC_ELF32 to std.news68k
2001-03-19 17:06:11 +00:00
tsutsui
e0694eb01f
Switch news68k to ELF:
...
- Move options EXEC_ELF32 to std.news68k
- Add options COMPAT_AOUT_M68K to each config file
2001-03-19 16:59:19 +00:00
mrg
0b2a9fa53d
kill QUOTA on everglades.
2001-03-19 05:35:51 +00:00
simonb
d618ec62ad
In sys_obreak(), the return value of atop() was being used to change
...
the process dsize for both positive and negative changes. Since atop()
casts its result to a paddr_t (which is unsigned), negative changes in
process data size resulted in unrealistic dsizes being set. Use
"dsize -= atop(-diff)" for a negative diffs. Fixes the "Impossible
process sizes" mentioned on current-users.
Unsigned cast catch and much debugging help from Martin Laubach.
2001-03-19 02:25:33 +00:00
lukem
211a59bbed
be consistent with whitespace
2001-03-19 01:10:51 +00:00
chs
c40daf0aed
change uvm_winsize to uvm_winshift so that we can avoid division
...
by a non-constant value.
2001-03-19 00:29:03 +00:00
chs
e47583af2c
missed some KERN_FAILUREs.
2001-03-18 23:43:53 +00:00
ichiro
89063179ad
enable I-O DATA WN-B11/PCM wlan card with WEP
...
reported by Shingo WATANABE <nabe@nabechan.org>
2001-03-18 21:13:12 +00:00
ichiro
7c7a848854
regen
2001-03-18 21:12:01 +00:00
ichiro
6fb0c29aed
add product I-O DATA WN-B11/PCM wlan
2001-03-18 21:11:30 +00:00
rearnsha
77d7115444
Spelling mistake (saftey -> safety). No functional change.
2001-03-18 18:49:37 +00:00
chs
e533061fce
in mem_access_fault*(), when invoking the pcb_onfault mechanism, pass the
...
return value of uvm_fault() to the onfault routine via %o0. users of
pcb_onfault now return this value to their callers rather than always
returning EFAULT. this allows i/o errors in VOP_GETPAGES() to be returned
back to read(), etc.
2001-03-18 17:11:22 +00:00
rearnsha
f8ffa07954
Always restore the spl value when returning form physconkbd.
2001-03-18 17:03:26 +00:00
rearnsha
62dd3b3608
Fix a couple of cases where we could return without restoring the
...
SPL value. Fixes a problem with the Xserver on A7000 kernels.
2001-03-18 17:00:56 +00:00
bjh21
614827277d
Switch over to using podulebus_irq_establish().
2001-03-18 16:58:55 +00:00
bjh21
5c98fe3fec
Gratuitous change of signature for podulebus_irq_establish(). It now takes
...
an opaque podulebus_intr_handle_t, which can be found in podulebus_attach_args.
It's actually the slot number, but don't tell anyone.
2001-03-18 15:56:04 +00:00
itojun
846f79ea76
LAMB uses nonstandard timer frequency. set TIMER_FREQ to appropriate
...
value (otherwise severe clock delay will result).
http://www.wildlab.com/bbs/logview.cgi?pg=9&no=521
2001-03-18 15:24:14 +00:00
mrg
3bb2b205f9
show the cpu a process is running on in proc
2001-03-18 14:24:10 +00:00
mrg
45d39a2030
redo previous slightly differently.
2001-03-18 14:10:34 +00:00
mrg
e82b5bb630
"mach slock" for simple_locks
2001-03-18 14:06:10 +00:00
bjh21
949f93d279
If uvm_fault() returns an error, pass it on to the pcb_onfault handler
...
if there is one. They already arrange to return it to their callers.
2001-03-18 14:04:04 +00:00
manu
bfaa81d0e1
Fixed typos in comments
2001-03-18 11:31:44 +00:00
chs
1fae55f3ae
in trap(), when invoking the pcb_onfault mechanism, pass the return value
...
of uvm_fault() to the onfault routine via %eax. users of pcb_onfault now
return this value to their callers rather than always returning EFAULT.
this allows i/o errors in VOP_GETPAGES() to be returned back to read(), etc.
2001-03-18 02:53:09 +00:00
bjh21
6c42a5d73a
Move over to using podulebus_irq_establish.
2001-03-18 01:31:03 +00:00
bjh21
63059bd6dc
Remove redundant sc_ih from struct ea_softc.
2001-03-18 01:30:30 +00:00
bjh21
b369fdfd44
Use podulebus_irq_establish().
...
To avoid complexity, don't bother with ea_irq_claim() and ea_irq_release() any
more. This driver will be replaced with an MI one soon eough -- it just
happened to be convenient for me to test.
2001-03-18 00:00:43 +00:00
bjh21
f98a674d6d
Add podulebus_irq_establish(), with the same spec as the arm26 one.
2001-03-17 23:58:43 +00:00
is
d7e64c2e21
Method array for a really big inter-byte offset.
2001-03-17 22:03:12 +00:00
bjh21
16198f2b92
Podulebus convergence:
...
pa_memc_[th] -> pa_mod_[th]
Add pa_easi_*
Add pa_*_base
Add pa_slot_flags to indicate whether EASI is supported.
2001-03-17 21:56:06 +00:00
leo
14d2d5706f
Conditionalize inclusion of the interrupt handlers for 'kbd', 'zs' and
...
'ncrscsi' since they are not present on the Milan.
2001-03-17 20:56:31 +00:00
bjh21
697e84ed46
Update for new location of podules.h and podule_data.h
2001-03-17 20:34:43 +00:00
bjh21
e6a3d0d5c9
Move generated files from sys/arch/arm32/podulebus to sys/dev/podulebus.
2001-03-17 20:32:00 +00:00
bjh21
255336b13c
Migrate known-podules list from arch/arm32/podulebus to dev/podulebus.
2001-03-17 19:05:19 +00:00
bjh21
17b6222740
Small beginnings of podulebus convergence: Have podule drivers print colons
...
in attach messages, rather than doing it in podulebusprint().
2001-03-17 18:46:25 +00:00
bjh21
bfc2063e69
Create an ARM2-specific undefined-instruction handler which deals with the
...
undef/SWI bug and handles emulating SWP.
Untested bacuse my ARM2 machine isn't currently set up.
2001-03-17 18:12:09 +00:00
jdolecek
9ca881a33a
the elmc initialization problem is hopefully fixed
2001-03-17 17:00:38 +00:00
jdolecek
bc5acf5f90
Move the code to write the interrupt number info back before the first card
...
reset (same place as in the Linux driver). Hopefully this would fix
the initialization problem I've seen previously (cannot repeat it
even without this change no matter how I play with the card).
Remove the comment about the initialization problem now.
2001-03-17 16:59:29 +00:00
sato
daf7016248
* enable HPCFB_MULTI codes.
...
* delete unneed non HPCFB_MULTI codes.
2001-03-17 14:59:33 +00:00
jdolecek
3261555469
bump maxusers to 8
2001-03-17 09:55:32 +00:00
jdolecek
f3d3e9a30e
add elmc(4)
...
convert from memory disk to diskless-type config
2001-03-17 09:53:54 +00:00
pooka
6c3e28927e
fix typo in comment
2001-03-17 09:38:36 +00:00
chs
edb041f0d1
return the real error from pgo_fault().
2001-03-17 04:01:24 +00:00
chs
19accb3d77
return the real error from VOP_GETPAGES().
2001-03-17 04:01:02 +00:00
thorpej
79e48a7370
Regen.
2001-03-17 02:26:48 +00:00
thorpej
4628dbd48d
Fixup some Intel Gig-E entries.
2001-03-17 02:26:26 +00:00
mrg
0fcd32a415
"mach cpu" is MP only.
2001-03-17 01:54:17 +00:00
jdolecek
5ff8accde5
The 3c523 now driver works (with quite acceptable performance, like 320KB/s
...
for ftp and like 310KB/s via nfs); since there is still issue
with the card initialization, move the entry to bugs subsection
2001-03-17 00:19:36 +00:00
jdolecek
5f6a534773
regen - 3c523 entry change
2001-03-17 00:16:38 +00:00
jdolecek
4f637b65bc
adjust the 3c523 entry to fit the actual product name
2001-03-17 00:15:33 +00:00
jdolecek
668d11a549
add elmc (at MCA)
2001-03-16 23:04:01 +00:00
jdolecek
94720e3009
Add driver for 3Com EtherLink/MC (3c523) Ethernet MCA card. This beast uses
...
i82586-based controller, similarily to e.g. ai(4), el(4) or ix(4).
The driver was modelled after the ai(4) driver.
Due to lack of better documentation, Linux 3c523 driver was used
to find out 3c523-specific quirks. Of course, the necessary work was greatly
reduced by our decend generic ic/i82586 code :)
Finally, NetBSD supports an ethernet card on IBM PS/2!
2001-03-16 23:03:15 +00:00
leo
395516e7aa
Some minor, atari only, changes to make this work on the Milan:
...
- Adjust for the driver to be configured as fdisa
- Add a for the atari correct fd_types array
- Work around the fact that the atari has no machine/conf.h
2001-03-16 21:33:33 +00:00
leo
a5fdf3f1cf
Atari specific stuff to implement the Milan floppy. The Milan uses standard
...
ISA floppy hardware. Configure as:
fdcisa0 at isa? port 0x3f0 irq 6 drq 2
2001-03-16 21:31:55 +00:00
marcus
fab9e9b3bb
sc_port_units was set incorrectly at probe time.
2001-03-16 19:57:49 +00:00
ross
e10dbcfa2b
Sigh.
...
Revert the revert. Naturally, I considered OpenBSD and FreeBSD when I fixed
the incorrect use of the spl*() interface. The change I made is _required_
for both NetBSD _and_ OpenBSD, or the code won't even COMPILE except on
i386, and it is acceptable on FreeBSD. Your revert and mod rebroke it on
OpenBSD and tangled things up on NetBSD. It made no difference on FreeBSD.
In particular, there are 2,895 uses of splx() within the FreeBSD kernel,
and only a mere 21, that's "twenty one" uses of intrmask_t, and those are
almost exclusively in the guts of the interrupt implementation, _not_ in
the _use_ of the exported spl*() functions. It's perfectly OK to `int s
= spltty()' in a portable driver in FreeBSD.
For that matter, FreeBSD (-current at least) does not even *use* spl*()
any more and stubs them all out with inlines that do _nothing_ except return
0, making intrmask_t vs int _even less_ important there than it already
was.
I think it's great that you want to start hacking on the kernel, but do
note that this is certainly the most simple of the kernel interfaces. It
just gets worse from here. Be careful out there!
2001-03-16 19:32:35 +00:00
bjh21
9dfd56f6dc
Make this compile with "options DEBUG" again.
2001-03-16 18:11:57 +00:00
bouyer
d95448cbd3
Ops, forgot to commit this file along with the "variable com freq" support.
...
Thanks to Bill Sommerfeld for pointing this out.
2001-03-16 16:43:54 +00:00
wiz
038e997989
Restore non-NetBSD parts -- we're still sharing this code.
2001-03-16 15:06:24 +00:00
is
a4dce1a3f4
Don't need to use the hash filter for a single individual address; make
...
sure concurrent receive processing is disabled.
2001-03-16 13:43:31 +00:00
is
929c6ab654
Don't abort chain processing on error.
2001-03-16 13:02:51 +00:00
augustss
5c7eb8bc86
Regen.
2001-03-16 12:48:16 +00:00
augustss
91c12c470c
Add Panasonic MultiMediaCard adapter.
2001-03-16 12:47:51 +00:00
itojun
e4ecd03f2a
drop packets with link-local addresses,
...
if (internally-used) interface ID portion is already filled. sync with kame
2001-03-16 12:22:34 +00:00
is
89adf47818
Full documentation helps. Among other bugs, remove off-by-one-error when
...
initializing tx upper limit register.
2001-03-16 12:01:30 +00:00
hubertf
cda43785c6
Add comment on what 'overtemp' is about. OK'd by eeh.
2001-03-16 10:47:25 +00:00
mrg
e44f962032
steal a few mach commands from sparc64. add a #if 0'ed "mach cpu"
2001-03-16 10:28:53 +00:00
mrg
48fc32e16e
#ifdef DDB, add new function cpu_debug_dump(). define CPU_INFO_ITERATOR and
...
CPU_INFO_FOREACH.
2001-03-16 10:26:11 +00:00
manu
802ed4d55c
Removed an unused oldbrk variable in linux_sys_brk()
2001-03-16 07:46:57 +00:00
mrg
85b0b4096f
s/rv/error/ in a uprintf(). (rv isn't defined.)
2001-03-16 04:05:15 +00:00
manu
27a41174dd
Made linux_sys_brk() cleaner (no functionnality change)
2001-03-15 23:23:26 +00:00
enami
fe99796a13
Make fwohci works on big endian cpu (e.g., powermac g4).
2001-03-15 23:01:33 +00:00
ross
6fafd0bb60
Do critical sections a better way.
2001-03-15 22:49:27 +00:00
enami
bb839b38fa
- Wrap long line.
...
- Consistently use #define<TAB> instead of #define<SPACE>.
2001-03-15 22:26:03 +00:00
enami
f0643cdf2a
Fix indentation and white space usage.
2001-03-15 22:20:12 +00:00
ross
ac906a109d
LP64 a kprintf(9)
2001-03-15 21:59:09 +00:00
abs
c51634b970
Regen after adding Hauppauge WinTV USB FM
2001-03-15 20:10:08 +00:00
abs
4bd593f038
Add Hauppauge WinTV USB FM
2001-03-15 20:09:50 +00:00