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