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
tsubai
e679c63257
Accept 8000Hz (XXX).
2001-03-15 19:55:16 +00:00
tsubai
5eab0287fb
Use write-through caching for video ram. (Disabled by default, for now.)
2001-03-15 19:48:04 +00:00
tsubai
4382a59d64
Add ulinear16 support.
...
Return EINVAL if specified rate is not available.
2001-03-15 19:42:42 +00:00
manu
1208df7bdf
Fixed brk() emulation. We now keep track of the processes' idea of the
...
break value. See http://mail-index.netbsd.org/tech-kern/2001/03/15/0000.html
for more details.
2001-03-15 19:18:20 +00:00
bouyer
8c5e25e486
1010 has clock quadrupler but without PPL, so use SF_CHIP_DBLR.
2001-03-15 17:41:28 +00:00
bouyer
2b318d4800
Note that SF_CHIP_QUAD is for clock quadrupler with busy wait for PPL.
...
SF_CHIP_DBLR is for clock doubler or quadrupler.
2001-03-15 17:38:59 +00:00
uch
054158f994
HD64461 UART module support.
2001-03-15 17:30:55 +00:00
uch
106c0aee60
setup bootinfo.bi_cnuse at bootloader phase.
2001-03-15 17:24:45 +00:00
tsubai
123c25cc93
Remove PAGER_MAP_SIZE definition -- use default value. Instead, decrease
...
VM_MAX_KERNEL_BUF.
2001-03-15 16:06:59 +00:00
tsutsui
585b6f2b0a
Fix tyop in comments.
2001-03-15 13:45:00 +00:00
is
4925cee33b
It's one more if the max. coll. bit is set.
2001-03-15 13:27:31 +00:00
is
56ae0825ba
Thats collisions, not errors!
2001-03-15 13:23:23 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
mrg
ef26546e15
lock the kernel around calling interrupt stubs.
2001-03-15 03:20:43 +00:00
mrg
122b3a0e67
sprinkle KERNEL_LOCK() and KERNEL_PROC_LOCK() where they're missing. add
...
SYSCALL_DEBUG support to trap.c.
2001-03-15 03:01:39 +00:00
drochner
ba30691de0
This file needs <machine/types.h> to DTRT wrt __HAVE_OLD_DISKLABEL.
...
disklabel(5) doesn't tell to include it explicitely (as other platforms),
so include <sys/types.h> implicitely
2001-03-14 16:39:33 +00:00
christos
2142a2c4ea
populate OSABI list
2001-03-14 16:27:15 +00:00
ichiro
38bf48d59a
Implement uplcom_intr().
...
use interrupt pipe of USB serial adapter
2001-03-14 15:53:01 +00:00
toshii
c08eec9f47
Use hpc/hpc/disksubr.c.
2001-03-14 14:47:40 +00:00
toshii
300d398485
Move references to arm/arm/disksubr*.c from files.arm to
...
files.{arm26,arm32,dnard}.
2001-03-14 14:39:45 +00:00
drochner
35067a1717
this driver doesn't work on my thinkpad, so disable the match for the
...
IBM/0x00dd subsystem ID too
2001-03-14 11:38:55 +00:00
mjacob
272082c697
ansify code
2001-03-14 06:58:25 +00:00
onoe
9b1d7974ba
make compilable again without FW_DEBUG.
2001-03-14 06:46:17 +00:00
mjacob
ecdaf852b2
Clean up licence a bit. ANSIfy.
2001-03-14 05:47:56 +00:00
mjacob
c67c3d855d
Clean up and update copyright (remove advertising clause). Clean
...
up header guard. Clean up structure definition for at2_entry so
it's correct rather than derived from at_entry- this is important
for unswizzling purposes. Add a whole bunch of unswizzle macros-
they're not quite right yet but at least they're a start. Note that
we now have, for at_entry, a 16 bit firmware handle as part of what
had been at_reserved- this is to correlate ATIOs with CTIOs- and
this must be carried along as part of a tag value to use with all
CTIOs we send in relation to this ATIO. ANSIfy.
2001-03-14 05:46:50 +00:00
mjacob
98381c7a2d
ANSIfy source.
2001-03-14 05:44:46 +00:00
mjacob
8d81f18e84
Handles are now 16 bits. ANSIfy.
2001-03-14 05:44:21 +00:00
mjacob
765a49664e
Roll core minor. ANSify.
2001-03-14 05:14:36 +00:00
mjacob
6112b6b2e7
Clean up some comments. Expand usage of cd_reserved. Expand cd_tagval
...
to 32 bits so it can haul along this furshlugginer handle for parallel
SCSI as well as a regular vanilla 8 bit SCSI tag.
2001-03-14 05:10:38 +00:00
mjacob
928cef6eb8
Clean up license && copyright a tad. ct_reserved should now be more
...
properly called ct_syshandle.
2001-03-14 05:01:54 +00:00
mjacob
5d68eec9d1
Handles are now u_int16_t instead of u_int32_t. ANSIfy (NetBSD was the holdout).
2001-03-14 04:55:21 +00:00
mjacob
4a005e2d38
Update copyright date. ANSIfy isp.c (NetBSD was the holdout of all
...
the platforms this code runs on). Handles are now u_int16_t, so adjust
code as required.
2001-03-14 04:54:13 +00:00
christos
6e6957a277
regen
2001-03-14 01:41:29 +00:00
christos
47ae449748
PR/12405: Wolfgang Rupprecht: Add another abocom card (linksys pcm200)
2001-03-14 01:41:09 +00:00
eeh
b612a766a7
Handle overtemp intr.
2001-03-14 00:52:19 +00:00
bjh21
c3c5158d00
Change the value of tf_pc in undefined-instruction handlers on arm32. It now
...
always points to the undefined instruction in question. It's up to the
handler to advance it to the next instruction if it wants execution to
continue there. This is how things have always worked on arm26.
2001-03-13 23:56:48 +00:00
bjh21
ce3ad2275b
Update FPU detection to use remove_coproc_handler().
2001-03-13 23:51:48 +00:00
sommerfeld
d02dde9937
Change ffs_dirpref() to pay attention to the amount of available free
...
space before deciding which cylinder group should contain a new directory
inode.
Fixes kern/11983; works around some, but not all, of the side effects
of kern/11989.
Tested by me for well over a month on my laptop; preliminary versions of
the fix were tested by Frank van der Linden and Herb Peyerl.
2001-03-13 21:16:23 +00:00
bjh21
a7ba6bb441
Update for new linked-list undefined-instruction handler.
2001-03-13 21:00:13 +00:00
bjh21
aebf9049d4
Update to use install_coproc_handler_static(), since install_coproc_handler()
...
isn't safe this early.
XXX hpcarm should use db_machine_init() to do this.
2001-03-13 20:52:48 +00:00
bjh21
c72a18bddc
Separate out the SIGTRAP (gdb breakpoint) generator from undefinedinstruction()
...
so it's no longer a special case.
2001-03-13 20:22:02 +00:00
bjh21
db1f089718
Initialise the undefined-instruction handler at startup.
2001-03-13 20:20:43 +00:00
scw
bb17ec14d3
Conditionalise inclusion of opt_compat_svr4.h for the benefit of LKMs.
2001-03-13 18:47:19 +00:00
bouyer
c7871f80bf
Looks like "VSCom PCI-800H" should be in fact "Titan PCI-800H".
2001-03-13 17:23:52 +00:00
bouyer
2f52d98a08
Regen.
2001-03-13 17:22:27 +00:00
bouyer
6bf4720913
Add Titan Electronics Inc vendor ID (from linux) and Titan VS-800H
...
product.
2001-03-13 17:21:16 +00:00
uch
2e79fe1ec7
add SH4 configuration.
...
(SH) don't access SCIF if the Windows CE's COM1 is not connected to SCIF.
2001-03-13 16:31:29 +00:00
tsutsui
43bd337868
Update for recent changes to the MI i82586 driver.
...
(added 'why' argument to the channel attention hook function)
2001-03-13 16:31:14 +00:00
jmc
fcb48d8a3e
Fix typo on fwlynx_pci driver. Brett McCoy reported this in.
2001-03-13 07:38:05 +00:00
chs
631f092c9b
make this compile again.
2001-03-13 04:20:13 +00:00
sato
ae8397d1f8
comment out:options WSDISPLAY_DEFAULTSCREENS=4
2001-03-13 03:44:23 +00:00
onoe
e880c0b80b
Fix to validate selfid buffer according to the OHCI spec.
...
1. read 'gen' from first quadlet of the buffer.
2. raed selfid packets in the buffer.
3. confirm 'gen' field of the SELFID register matches 1.
2001-03-12 23:39:35 +00:00
onoe
4536167cac
Reinitialize context match register at fwohci_hw_init()
...
to receive asynchronous stream data after suspend/resume.
2001-03-12 23:36:09 +00:00
onoe
2cff6cf490
use OHCI_BITVAL(val, name), instead of
...
((val) & (name##_MASK)) >> name##_BITPOS
2001-03-12 23:27:53 +00:00
onoe
1c4a0d3428
change fw_verbose inside #ifdef FW_DEBUG
...
0) no verbose messages.
1) print non-fatal errors, nodeid, unique ID for other nodes.
2) extra printfs.
2001-03-12 23:22:37 +00:00
is
e2e5c62d49
Make this compile again (when building the LKMs).
2001-03-12 21:00:02 +00:00
manu
c1faa5c059
enabled COMPAT_LINUX for sandpoint
2001-03-12 20:10:06 +00:00
wiz
c79d6f4378
Fix typo in comment reported by Yuji Yamano in kern/12391.
2001-03-12 17:26:37 +00:00
tsutsui
06237a6a03
Add some delay in zstty_attach() to wait previous console output
...
to complete before hardware initialization.
2001-03-12 15:46:56 +00:00
tsubai
9f1a6e07a4
Round up block size to at least NBPG bytes.
2001-03-12 15:41:52 +00:00
bouyer
9ea2b5098b
Preliminary support for SYM53C1010-33 (at 80MB/s only for now), based on
...
patches sent by Matthias Drochner <M.Drochner@fz-juelich.de> and
Kenneth R Westerback <kwesterback@home.com>
2001-03-12 10:00:50 +00:00
bouyer
01ca4cb938
Support the Promise Ultra/100 at full speed, and fixes the "bogus intr"
...
problem some peoples reported for Promise Ultra/100.
Thanks to Chuck Silvers for giving me a Promise Ultra/100 so I could do some
tests.
2001-03-12 09:53:28 +00:00
bouyer
028b15c81a
Correct definition of PDC262_U66_EN (from FreeBSD).
...
Correct values of MW DMA 2, and add values for UDMA5 (from linux).
2001-03-12 09:51:21 +00:00
sato
ee1d25e7bd
* assume backlight is on if backlight value cannot get.
...
* move the lcd control codes used config_hook_call()
in *_hardpower() to *_power().
2001-03-12 08:54:25 +00:00
sato
859d83dd22
* vrc4172pwm_get_light() return the value masked by VRC2_PWM_LCDEN_MASK.
...
* when resume from suepend, restore saved value instead of always on.
2001-03-12 08:46:27 +00:00
toshii
1bb261e173
Fix interrupt handling somewhat so that break signal gets DDB.
2001-03-12 03:27:18 +00:00
scw
e4a4f09fa8
Make this compile again; chan_attn() prototype has changed.
2001-03-11 20:24:52 +00:00
mhitch
1c10294eb2
ELF ABI requires address to be returned in A0.
...
Change an external reference from absolute address to PC-relative.
2001-03-11 20:15:02 +00:00
mhitch
5a182288c0
ELF ABI requires address to be returned in A0.
2001-03-11 20:10:04 +00:00
mhitch
751017e6c1
Pack the ExecBase structure to avoid aligning contraint problems with ELF
...
compiler
2001-03-11 20:09:07 +00:00
uch
cb1bebe07e
remove unneeded include.
2001-03-11 16:45:13 +00:00
bjh21
b1475781a2
Make arm26 implementation of DDB slightly less gratuitously different from the
...
ARM one. Also update for recent undefined-instruction handler changes.
2001-03-11 16:31:05 +00:00
bjh21
ce5529eabf
Change undefined instruction handler to use a linked list for each
...
co-processor. This is necessary so we can have several handlers for
CP0 (used as a catch-all for non-CP instructions).
Handlers are now removed using remove_coproc_handler(), rather than by calling
install_coproc_handler() with a NULL handler.
Because install_coproc_handler() can now allocate memory, there's a version
for use at boot time that doesn't.
2001-03-11 16:18:39 +00:00
bjh21
c6c5fda4be
Use <arm/undefined.h>
2001-03-11 16:14:36 +00:00
bjh21
4624a1247e
Make this suitable for use on arm26 as well.
2001-03-11 16:02:21 +00:00
bjh21
5f8b55f7c3
Pass a softc pointer around everywhere, and use it when we need the name of
...
the device.
Don't pretend that fpe0 and fpu0 exist as devices (they don't).
G/C a few items related to /dev/cpu* support.
2001-03-11 15:05:43 +00:00
toshii
ffe630e7c3
Sync with sa11x0_reg.h rev 1.4.
2001-03-11 14:37:03 +00:00
takemura
1ab9404c3c
Fix definition of MQ200_GCR(n). This definition was quite bad!
2001-03-11 13:53:31 +00:00
toshii
43d63b4d48
Make hpcboot functional when jornada 720 or iPAQ is selected
...
at the boot menu.
2001-03-11 11:47:24 +00:00
wdk
b9b387d9b1
Remove function decl that doesn't belong in cpu.h
2001-03-11 09:20:58 +00:00
wdk
13de0e4f2b
1. Remove cpu_exec_ecoff_hook
...
2. Invoke KGDB if booted with RB_KDB flag
3. Don't round up page address when zeroing BSS - this can overwrite debug
symbols
2001-03-11 09:19:31 +00:00
wdk
688a84b1b2
Add missing \n during probe if port is dedicated to kgdb
2001-03-11 09:06:09 +00:00
ichiro
ea4611b0cd
add ExtendedGPIO desc of iPAQ H3600
2001-03-11 07:27:36 +00:00
ichiro
2cb44b8020
add h3600 and jornada720 gpio port and irq
2001-03-11 06:00:42 +00:00
takemura
5cb5569c63
Apply 'CF hack' to all model of Cassiopeia E series.
2001-03-11 05:18:51 +00:00
takemura
a38c751d80
Add configration flag 0x02 to set WDC_CAPABILITY_SINGLE_DRIVE.
2001-03-11 05:10:58 +00:00
bjh21
f61ad8fa80
G/C more unused elements of struct _cpu.
2001-03-11 00:14:56 +00:00
bjh21
d005972168
"needs-flag" for cpu is no longer needed.
2001-03-11 00:11:05 +00:00
is
782a7670e9
- The ioblix zbus board comes in 24 MHz and 22.1184 MHz clock variants.
...
We default to the (newer, more sane) 22.1184 MHz value, but set it from
the iobzclock variable (in Hz), which is initialized from the IOBZCLOCK
configuration option and patchable.
XXX we should time the clock at system startup.
- add ioblix_zbus to the GENERIC configuration.
2001-03-10 23:55:29 +00:00
bjh21
c7bfcc0130
These are no longer used.
2001-03-10 23:31:32 +00:00
chs
dd82ad8e2c
eliminate the VM_PAGER_* error codes in favor of the traditional E* codes.
...
the mapping is:
VM_PAGER_OK 0
VM_PAGER_BAD <unused>
VM_PAGER_FAIL <unused>
VM_PAGER_PEND 0 (see below)
VM_PAGER_ERROR EIO
VM_PAGER_AGAIN EAGAIN
VM_PAGER_UNLOCK EBUSY
VM_PAGER_REFAULT ERESTART
for async i/o requests, it used to be possible for the request to
be convert to sync, and the pager would return VM_PAGER_OK or VM_PAGER_PEND
to indicate whether the caller should perform post-i/o cleanup.
this is no longer allowed; pagers must now return 0 to indicate that
the async i/o was successfully started, and the caller never needs to
worry about doing the post-i/o cleanup.
2001-03-10 22:46:45 +00:00
bjh21
29e609e3c5
Update for recent changes to the i82586 driver.
2001-03-10 22:32:17 +00:00
bjh21
ca5024c3a1
Add code to point out to the user if their CPU isn't supported, and to
...
suggest what kernel options to use to get it to work.
2001-03-10 21:27:06 +00:00
bjh21
b362a4bef3
Change the meaning of cpu_class. It now has one value for each core we
...
support, which corresponds to one for each CPU_* option, or one for each
cpufunc structure.
Also remove some more residual code for the support of multiple and non-ARM
CPUs.
2001-03-10 20:15:46 +00:00
bjh21
c24be229f5
Don't allow the I and F (IRQ and FIQ disable) flags to be set in the PSR
...
by sigreturn. This prevents user processes disabling interrupts by messing
with their signal context.
2001-03-10 20:08:55 +00:00
jdolecek
9d66d7180b
add 'why' argument to the channel attention hook function; this argument
...
is similar to the one passed to hwreset hook function
2001-03-10 20:04:30 +00:00
bjh21
b01c113e98
ARM7TDMI != ARM7 for our purposes (it has an ARMv4 CP15).
2001-03-10 20:03:51 +00:00
jdolecek
c0d40387a0
improve the error messages for IE_TDR_OPEN & IE_TDR_SHORT
2001-03-10 19:59:13 +00:00
jdolecek
a557028a27
improve description of IE_TDR_OPEN & IE_TDR_SHORT a bit
2001-03-10 19:57:38 +00:00
toshii
a9e9b871de
Add sacc, sacpcic, and sagpcic.
2001-03-10 19:05:40 +00:00
toshii
f14e35f58e
Driver code for SA11x1 based PCMCIA devices.
2001-03-10 19:01:27 +00:00
toshii
79d31f6571
Common driver code for SA11x0 PCMCIA function.
2001-03-10 19:00:39 +00:00
toshii
57abc92eeb
This file is no longer used. PCMCIA driver code is divided into
...
sa11xx_pcic*, sa11x0_pcic* and sa11x1_pcic*.
2001-03-10 18:59:22 +00:00
tsutsui
51cdfbfa9b
Fix error on config without options news1700.
...
DC_BE and IC_BE bits are enabled at runtime since rev 1.7.
2001-03-10 18:58:16 +00:00
toshii
2d36b2225d
Support SA1111 companion chip.
2001-03-10 18:50:37 +00:00
chs
941da355cf
in getnewbuf(), when we need to write a buffer before reusing it,
...
return NULL instead of restarting the loop since we might sleep
while starting the i/o. this tells getblk() to check if someone else
created the buffer while we slept. from OpenBSD.
2001-03-10 18:43:55 +00:00
tsutsui
7346883e17
Don't include opt_compat_svr4.h on building LKM.
2001-03-10 18:39:04 +00:00
rearnsha
bf5e18af99
Add param.h to INCS.
2001-03-10 18:32:25 +00:00
toshii
356943c6c4
Fix nit. Read functions were actually writing. :-(
2001-03-10 17:32:14 +00:00
uch
c5be09ee66
add README.
2001-03-10 16:24:54 +00:00
bjh21
0bcb071684
Correct CPU_ID_ISOLD() and CPU_ID_IS7().
2001-03-10 16:19:59 +00:00
toshii
3a52278a23
Map GPIO registers in saip.
2001-03-10 15:34:38 +00:00
toshii
4c08e34e90
hpcarm/hpcarm/ast.c is no longer.
2001-03-10 14:10:51 +00:00
toshii
b2cb6de80e
Use sa11x0_bs_tag instead of mainbus_bs_tag.
2001-03-10 13:34:34 +00:00
briggs
0828a1bcd0
Make this work on a PowerPC system:
...
- Load the DMA address a byte at a time, and
- Use bus_space_read_stream_2() instead of bus_space_read_2() when reading
the byte-stream of configuration data from the card.
Sanity-checked on both i386 and sandpoint. Reviewed by ad.
2001-03-10 13:30:55 +00:00
toshii
a62d9f6fa0
Handle the offset argument in bus_space_{read,write}* correctly.
2001-03-10 13:29:38 +00:00
toshii
4333644371
Copy bus_space_map() function from arm/mainbus/mainbus_io.c.
2001-03-10 13:27:53 +00:00
minoura
8cba02bdf9
Turn off options JUPITER temporarily.
...
This may cause problems on some newer accelerators.
We might have to write a more accurate detect code.
2001-03-10 03:23:09 +00:00
leo
b44e732ff6
Expand bus_dma implementation. It will now handle the bounce buffer
...
extensions needed to make the isa floppy driver on the Milan work.
2001-03-09 20:55:46 +00:00
thorpej
85868e3c09
Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE.
2001-03-09 20:05:39 +00:00
toshii
9224009c5d
Fix bugs in delay().
...
- it could wait infinitely.
- large roundoff error.
2001-03-09 18:55:29 +00:00
bjh21
1f9f430e03
Patch from Richard Earnshaw:
...
Add some calls to drain the write buffers -- these are particularly
important when we are trying to synchronize I$ and D$.
2001-03-09 16:24:51 +00:00
bjh21
5a6e5a05e3
Increase the size of regions for which we use the single line flush
...
commands -- profiling shows this to be a major win over flushing the
entire cache (since the likelihood is that such lines won't be in the
cache anyway).
Patch supplied by Richard Earnshaw.
2001-03-09 16:17:19 +00:00
briggs
8f833ca839
Goes along with rev. 1.25/1.26 of if_sip.c -- forgot to commit.
2001-03-09 16:12:29 +00:00
explorer
b12c43f70a
Only lock the pack in if the disk device is a removable one. This fixes a
...
problem with Hitachi SCA drives
2001-03-09 16:07:39 +00:00
briggs
75a60f539a
More fixes for the DP83815...
...
- Set the destination address register properly for "perfect match" mode
in the receive filter setup.
- Do not enable multicast receipt unless we are configured for some multicast.
- Use the "recommended settings" (which set undocumented registers and
documented-as-reserved fields) for the silicon revision 302h (not 203h,
as documented in one of the two places in the manual) because the
documentation is unclear and because those settings fix the card's
behavior in "perfect match" mode. Without those settings, the card
was generating random CRC/invalid symbol errors and generally not
working unless it was set to be promiscuous.
With these changes, this week's version of the Netgear FA311 works for me.
2001-03-09 16:07:20 +00:00
tsutsui
d507b847c6
Declare constty extern.
2001-03-09 13:35:50 +00:00
toshii
aa76b5208c
Make it compile again after arm, arm32 changes.
2001-03-09 12:13:15 +00:00
pk
1b84e6fb33
pasto: sc_maddr => sc_mem
2001-03-09 10:19:54 +00:00
sato
80214041c7
support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
...
lcd on/off
2001-03-09 08:54:18 +00:00
briggs
77a57bede4
Add a variant hook to read the ethernet MAC address from EEPROM differently
...
for the SiS 900 and the DP83815. Also add some configuration suggested by
the DP83815 documentation for one model of the DP83815.
2001-03-09 07:42:24 +00:00
chs
83d071a318
add UBC memory-usage balancing. we track the number of pages in use for
...
each of the basic types (anonymous data, executable image, cached files)
and prevent the pagedaemon from reusing a given page if that would reduce
the count of that type of page below a sysctl-setable minimum threshold.
the thresholds are controlled via three new sysctl tunables:
vm.anonmin, vm.vnodemin, and vm.vtextmin. these tunables are the
percentages of pageable memory reserved for each usage, and we do not allow
the sum of the minimums to be more than 95% so that there's always some
memory that can be reused.
2001-03-09 01:02:10 +00:00
bjh21
f6c36838ae
Use the same undefined-instuction handler on both arm26 and arm32. The handler
...
is derived mostly from the arm32 version, but with a check for an obscure ARM2
bug thrown in.
arm26 fpu and cpu drivers use the new interface for catching undefined
instructions.
2001-03-08 21:30:35 +00:00
bjh21
c0aee693f5
Add a missing part of FPU support.
2001-03-08 21:12:48 +00:00
is
6288edb5bd
Add rcsid.
2001-03-08 19:21:53 +00:00
thorpej
32a284db3a
Make sure data after the header is aligned, so that this works on
...
systems with strict alignment constraints.
kern/12356, Feico Dillema <feico@pasta.cs.uit.no>.
2001-03-08 16:33:43 +00:00
thorpej
09cc55c97c
Add additional padding to the status record, needed by the AIR-PCM342.
...
kern/12357, Feico Dillema <feico@pasta.cs.uit.no>.
2001-03-08 16:30:50 +00:00
uch
736e48bc36
enable CF slot.
2001-03-08 15:21:31 +00:00
uch
c567a80bdc
CF memory mapped addressing mode. http://www.compactflash.org/cfspc1_4.pdf
2001-03-08 15:20:57 +00:00
uch
41207e71d6
channel 1 interface don't provide fake pcmcia io space tag.
2001-03-08 15:13:14 +00:00
ichiro
69243771db
Fix powerhook routine.
...
support resume/suspend.
2001-03-08 12:54:45 +00:00
ichiro
1aba32dc5e
it wait until busy flag disappears.
...
it was able to prevent some cards with late initializing faling in wi_reset().
2001-03-08 11:07:08 +00:00
itojun
27a0af5865
nd6_storelladdr() was not consistent about m_freem() policy.
...
do not touch RTF_STATIC entries (static ND entries) on ND cache update.
couple of costmetic sync. sync with kame
2001-03-08 10:49:32 +00:00
itojun
7695280d34
more missing splx. from kame
2001-03-08 10:48:40 +00:00
thorpej
c46615a68b
Config glue for the CardBus front-end for the Advansys SCSI driver.
...
kern/12431, takashi.yamamoto@bigfoot.com .
2001-03-08 06:56:22 +00:00
thorpej
37208e0bb3
Add a CardBus front-end for the Advansys SCSI driver.
...
Provided by takashi.yamamoto@bigfoot.com , kern/12341.
2001-03-08 06:55:38 +00:00
thorpej
54bb0eddd9
Preliminary support for detaching an "adv" instance. This
...
could use some more work.
Derived from kern/12341, takashi.yamamoto@bigfoot.com .
2001-03-08 06:49:49 +00:00
thorpej
4fc2dd570b
Regen; added Advansys Ultra SCSI.
2001-03-08 04:25:04 +00:00
thorpej
daa88b6a11
Add Advansys Ultra SCSI. Modified from kern/12341, from
...
takashi.yamamoto@bigfoot.com .
2001-03-08 04:24:41 +00:00
thorpej
21a0f1ac65
advlib.c and advmcode.c should be built for all adv, not
...
just adv_pci. From takashi.yamamoto@bigfoot.com , kern/12341.
2001-03-08 04:18:17 +00:00
enami
d189c89a19
- lineup comment.
...
- fix typo in comment.
2001-03-08 03:22:28 +00:00
thorpej
6665b106a3
Add BUS_DMA_STREAMING to data transfer map loads.
2001-03-08 02:36:35 +00:00
thorpej
c8f050a7f1
Use bus_dmamap_load(), not bus_dmamap_load_raw(), and add
...
BUS_DMA_STREAMING to data transfer map loads.
2001-03-08 02:21:44 +00:00
thorpej
00ddf90164
Use bus_dmamap_load(), not bus_dmamap_load_raw().
2001-03-08 02:20:39 +00:00
thorpej
5dedbd1c97
Duh, don't forget the proc argument.
2001-03-08 01:46:18 +00:00
thorpej
3423154d78
Use bus_dmamap_load(), not bus_dmamap_load_raw().
2001-03-08 01:38:57 +00:00
itojun
912f42ecda
remove bogus rtfree. sync with kame. inspired by openbsd PR 1706.
2001-03-08 00:19:03 +00:00
itojun
5a30bafe14
Remove a bogus rtfree(); OpenBSD PR 1706.
2001-03-08 00:17:05 +00:00
thorpej
fd7ed72be1
Add BUS_DMA_STREAMING to data transfer maps.
2001-03-07 23:07:12 +00:00
itojun
4e45315377
missing splx. from aaron@openbsd. sync with kame
2001-03-07 22:50:14 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
tsubai
5e917b9c4d
Add another CPU ID for G4; PowerBook G4 has different PVR value.
2001-03-07 12:44:05 +00:00
tsubai
83eac66533
Cosmetics.
2001-03-07 08:18:45 +00:00
tsubai
973904ff17
Include trap_subr_mp.S if MULTIPROCESSOR is defined.
2001-03-07 08:12:55 +00:00
tsubai
bf498eb12e
Remove MULTIPROCESSOR part. (moved to separate file)
2001-03-07 08:10:44 +00:00
tsubai
90aabafdd1
MP version of trap routines.
2001-03-07 08:05:07 +00:00
briggs
20d5755843
Set the PCI mem tag to 0. The BAR already contains the value that was here.
2001-03-07 05:52:28 +00:00
eeh
4e77731eee
Fix inverted preprocessor logic. (Spotted by Charles.)
2001-03-07 01:47:02 +00:00
matt
21b608bb3b
Regen.
2001-03-07 01:44:51 +00:00
matt
f5a5af26a2
Add Galileo GT-64260.
2001-03-07 01:42:37 +00:00
itohy
7ffa2a0375
Add RTC_OFFSET support to inittodr() on dreamcast.
...
No changes to other sh ports.
2001-03-07 00:47:22 +00:00
bjh21
4ada0ac792
Create cpufunc_null_fixup() to replace all the CPU-specific abort-fixup
...
routines that did nothing.
2001-03-06 22:29:13 +00:00
thorpej
76eec79181
Don't misuse bus_dmamap_load_raw().
2001-03-06 22:27:59 +00:00
thorpej
51aeeceeaf
Clean up TLB trap handling a little.
...
- When printing a user trap, include p->p_comm in the message.
- In the TLB fault handler, don't just go charging along if
the fault can't be handled. If we get a fatal kernel TLB
fault, we need to panic! Or, if DDB is enabled, call the
Debugger().
2001-03-06 21:58:23 +00:00
briggs
9fcf8e36a4
Sync with reality. Add NetBSD tag.
2001-03-06 20:16:09 +00:00
briggs
d6ff14bfde
Update the defaults of MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ to those used
...
in macppc.
2001-03-06 20:11:41 +00:00
briggs
7446055d62
Disable interrupts during autoconf.
...
Move identifycpu() from machdep.c to autoconf.c, make it table-driven, and
add a few more models to it.
2001-03-06 20:10:20 +00:00
mycroft
237ef77d7f
Optimize a little more for the case where `off' is entirely covered by one
...
mbuf -- which is always is.
2001-03-06 19:20:51 +00:00
mycroft
f7a6910822
Rework the in4_cksum() code a bit.
2001-03-06 19:14:37 +00:00
fvdl
e55dd7530b
Use assembly version of in4_cksum (which is a piece of code that
...
does some of the extra work and then jumps into in_cksum).
2001-03-06 14:55:13 +00:00
pk
a917eabaec
* A couple of #if defined(SUN4M)' should be
#if defined(MULTIPROCESSOR)'
...
* Print notice if not all CPUs were attached
* Switch to SMP version of cache flush routines in just one place: in
cpu_attach() after all known CPUs have been configured.
2001-03-06 13:39:22 +00:00
mrg
f1d2503dc5
rework pci_attach_hook() to just deal with the INO, not the full
...
interrupt number. properly find interrupts for the E250. modify
pci_intr_map() accordingly. retire psycho_intr_map(). deal with
INO values upto 0x3f, not upto 0x32. restructure sabre_init() and
psycho_init() to be more similar, and display each psycho's IGN.
psycho_intr_establish() deals with INO upto 0x3f, values from 0x32
and higher get 0 for IPL.
tested on E250 & U5.
2001-03-06 08:09:16 +00:00
matt
b7cd0eeaac
Move arm32/arm32/ast.c to arm/arm32/ast.c
2001-03-06 07:52:35 +00:00
matt
d4792454d8
Change parameter to int from u_short as gcc doesn't like subint
...
arguments.
2001-03-06 07:40:52 +00:00
matt
5b634b6b3a
Add the PCI frontend for the TI LYNX firewire chip. Note that the
...
backend still needs to be worked on.
2001-03-06 07:38:32 +00:00
sato
1a533a81d6
add sigmarion parameter.
2001-03-06 03:14:39 +00:00
cgd
d45416e707
when executing args in the ccode=0 case, send output to a tmp file and
...
(only if cmd exited successfully) use tmp file as input to sed pipeline.
This works around two issues:
(1) a pathological case where the script would fail in ... interesting
ways if the command being executed closed its stdout. (Certain
commands are used only for their side effects, but not their output,
and doing some testing on my own i got into hot water when one
of my mods caused a command to close its output).
(2) the fact that genassym would succeed even when the command in
fact failed (because the last cmd in the pipeline is the one whose
exit status would be reported).
2001-03-06 02:20:18 +00:00
jmc
1d6219e000
XXX: Temporary work around to fdesc truncating files when it shouldn't. Treat
...
setattr calls on underlying vnodes the same as sockets and just return 0.
This whole thing needs to be gutted and replaced with either fall throughs
to specfs (the attr forwarding is just bizarre and leads to weird crap like
the above truncation problems), or better yet a real cloning device node.
2001-03-06 01:23:42 +00:00
matt
37d2bbb0a2
Only include "locators.h" is _KERNEL is defined.
2001-03-05 23:50:02 +00:00
bjh21
3ec18a1616
General prettification (mostly comments).
2001-03-05 23:29:32 +00:00
bjh21
78eae7d026
ANSIfy.
2001-03-05 23:14:22 +00:00
bjh21
83b8de43dd
Move undefined.c from sys/arch/{arm32/arm32,hpcarm/hpcarm} to sys/arch/arm/arm
...
in preparation for making it usable on arm26 as well.
2001-03-05 23:06:14 +00:00
fvdl
f28b5d3d94
Avoid spinning forever when hardclock() wants to grab the kernel lock
...
held by the reaper. From Bill Sommerfeld.
2001-03-05 20:38:21 +00:00
pk
b91b8796d9
Implement MSGBUFSIZE option.
2001-03-05 16:46:09 +00:00
pk
8eeb7a8a79
mp_{pause,resume}_cpu(): avoid crash when cpu(s) not yet configured.
2001-03-05 16:45:22 +00:00
pk
f3c74253b0
Fix `flags' argument to pmap_enter().
2001-03-05 16:43:34 +00:00
ragge
f860eda596
This file hasn't been in use for a long time.
2001-03-05 16:02:23 +00:00
ad
f21f718031
Typo in previous.
2001-03-05 12:15:38 +00:00
tsubai
0e3e6118a9
Add awi* at pcmcia.
2001-03-05 11:31:14 +00:00
pk
90e5095df2
Fix syntax error in previous change.
2001-03-05 07:16:19 +00:00
toshii
850f81157a
Fix an error printf format.
2001-03-05 07:11:18 +00:00
pk
4e14c96788
In debug printf: missing quote on format string.
2001-03-05 07:04:01 +00:00
wdk
ffa74abf2f
- Add "Features Enable" and CDB bits to SCSI controller config
...
- During un-aligned writes: Don't accidently leave the DMA engine active
after priming the FIFO between calls to asc_dma_setup and asc_dma_go
2001-03-05 05:04:29 +00:00
wdk
9cf464f7d1
no longer keep a copy of the volume header in cpu_disklabel
2001-03-05 04:58:09 +00:00
wdk
680c13c7d4
- brelse() was called twice after reading disk label
...
- re-read RISC/os volume header off disk before writing new label
in case it was updated by installboot utility
- no longer keep a copy of the volume header in cpu_disklabel
2001-03-05 04:54:07 +00:00
marcus
d152e7d2f8
Off-by-one error on v_absolute_size fixed.
2001-03-05 02:45:24 +00:00
matt
9ebe639d49
Regen
2001-03-05 01:32:53 +00:00
matt
a5b4d0e3ee
Add Winbond W83C533F functions.
2001-03-05 01:29:26 +00:00
bjh21
25ec015449
Merge setregs() from sys/arch/arm32/arm32/machdep.c,
...
sys/arch/hpcarm/hpcarm/machdep.c and sys/arch/arm26/arm26/vm_machdep.c
into sys/arch/arm/arm/arm_machdep.c.
2001-03-04 23:25:00 +00:00
bjh21
88951e75fa
Rather than using a list of CPU IDs, take a heuristic approach to working
...
out which set of functions to use. This should help cope with the fact that
my list of CPU IDs is probably incomplete.
2001-03-04 23:13:29 +00:00
msaitoh
749e1bccc9
add support for NetMos NM9835 Dual UART and 1284 Printer port.
2001-03-04 21:30:24 +00:00
pk
a1b18f9435
Fix syntax error in previous.
2001-03-04 21:28:11 +00:00
msaitoh
4bbb1a724a
regen
2001-03-04 21:28:06 +00:00
msaitoh
6d2a2f23b9
Add an entry for NetMos
2001-03-04 21:26:44 +00:00
pk
bac5be6461
Simplify `bad alias' handling in pv_link()/pv_unlink():
...
- there's no need to have different PV_NC flags for sun4[c] & sun4m
- deal with kvm_uncache() being called on a managed page in a
separate helper function that deals with the caching state
within the pv list for that page, avoiding interference with
the `bad alias' removals in pv_unlink().
Note that currently never called for managed pages, but for now I'm
keeping the support in.
2001-03-04 21:12:24 +00:00
jdc
d22da292a6
Man page moved to share/man/man8/man8.atari.
2001-03-04 20:54:12 +00:00
jdc
b8c15cce4e
Man page is now in share/man/man8/man8.atari.
2001-03-04 20:51:51 +00:00
matt
01ae1e2acf
ifndef some more routines that are macros on the vax port.
2001-03-04 20:49:34 +00:00
jdc
df594988e2
Add enhancements :
...
boot sector and bad sector list are preserved by default, use 'z' to change
type NNNm to make a partition size NNN megabytes
type `-N' at `root' and `start' prompts to start after partition N
type `-N' at `size' prompt to end before partition N
type `-1' at `size' prompt to end at end of disk
display pauses if 10 or more partitions to display
2001-03-04 20:49:27 +00:00
matt
2bfaa741b1
remove disksubr since they are common.
2001-03-04 20:47:03 +00:00
matt
a4ee61bc1e
eliminate a lot stuff that's not needed.
2001-03-04 20:45:03 +00:00
matt
d6fc837c17
more vm_offset_t/vm_size_t -> {p,v}{addr,size}_t changes
...
move pmap_* declarations to pmap.h. fix conflicts this
exposed (e.g different definitions for pmap_bootstrap).
2001-03-04 19:05:55 +00:00
ad
fc04a38b9a
Don't choke when we get lots of AENs all at once.
2001-03-04 17:50:51 +00:00
uch
23c73a6e1c
regen.
2001-03-04 17:01:15 +00:00
uch
0d9b26cd0e
make this compile on WCE200 SDK
2001-03-04 16:59:47 +00:00
uch
07005e3818
sync with pbsdboot. (CASIO Pocket PostPet)
2001-03-04 16:52:44 +00:00
uch
aa7c0fa2c7
templates for WindowsCE Embedded Toolkit for Visual C++ 5.0
2001-03-04 16:51:04 +00:00
itojun
c9e08725bc
avoid possible alignment issue. sync with kame
2001-03-04 16:49:17 +00:00
tsutsui
3345fe4477
Fix intrnames and intrcnt since there is no statclock on news68k.
2001-03-04 16:24:39 +00:00
tsutsui
ea0e8d2320
Remove unused getsp().
2001-03-04 16:21:05 +00:00
tsutsui
0f2df04d95
Add "-e start" to LDFLAGS for ELF toolchain.
2001-03-04 16:15:50 +00:00
tsutsui
1dff14e5c9
Include files.aoutm68k for COMPAT_AOUT_M68K.
2001-03-04 16:14:21 +00:00
bjh21
0618726202
ANSIfy while I'm here.
2001-03-04 15:40:17 +00:00
mrg
b301668cb5
build sparc64 bootblk, ofwboot, & ofwboot.net on sparc
2001-03-04 15:34:45 +00:00
bjh21
496829a88b
Make compat_13_sys_sigreturn() work on arm26, and move it from
...
arch/arm/arm32/compat_13_machdep.c to arch/arm/arm/compat_13_machdep.c.
2001-03-04 15:27:03 +00:00
mrg
e85a9ee949
this is a sparc64 program. so -DSUN4U, machine -> sparc64. cleanup.
2001-03-04 14:50:05 +00:00
bjh21
8054b2ad5f
dev/cons.c is supplied by files.arm.
...
XXX should it really be?
2001-03-04 14:38:29 +00:00
bjh21
aa34be4532
Make "options ARMFPE" work again.
...
Mostly due to Richard Earnshaw.
2001-03-04 14:32:12 +00:00
bjh21
ab8e9aaefd
Add CPU ID for ARM7500FE (determined empirically from two I've got here).
2001-03-04 14:26:26 +00:00
bjh21
0bf382d920
Remove redundant cdev_decl(cpu).
2001-03-04 14:14:23 +00:00
mrg
f1a8e2ab5f
be more verbose about failed vmcmds.
2001-03-04 13:42:32 +00:00
mrg
76c3f04bcb
move etext after rodata, like kern32.ldscript and sparc's kern.ldscript.
2001-03-04 13:41:00 +00:00
ad
8a4900c534
Hook in px & pxg devices.
2001-03-04 13:36:19 +00:00
ad
571ef6d823
Make this work on alpha, and fix some other bogons.
2001-03-04 13:32:25 +00:00
onoe
31e372c586
Extra wait at WI_CMD_INI is needed for some PRISM-II based cards.
...
(ex. ELECOM, AIr@Hawk/LD-WL11/PCC)
2001-03-04 11:18:51 +00:00
mrg
0a1cdb5f63
allow sparc "make release" to build a sparc64 capable 32 bit kernel.
2001-03-04 10:12:56 +00:00
mrg
de13b6986c
deal with 32 bit kernels.
2001-03-04 10:11:56 +00:00