itojun
da0e17f08c
fix pathname to meet pkgsrc/cross/sh*
2001-01-04 07:51:50 +00:00
itojun
8a58f991f6
content were mixed up
2001-01-04 07:50:23 +00:00
sato
58b63998c2
handle pointer type event message and scaler type event message
...
for CONFIG_HOOK_PMEVENT_*.
2001-01-04 07:43:37 +00:00
itojun
156bea1018
nuke obsolete Makefile templates.
...
split build-sh3 into two, for sh3e[bl].
2001-01-04 07:09:47 +00:00
mycroft
f73703a4a6
Set the play and record parameters separately.
...
If the device is unidirectional, just ignore parameters in the other direction.
(XXX We need a better way of dealing with this.)
Only set curaltidx if we're setting usemode.
This makes both the Altec Lansing speaker set and the Telex bidirectional frob
work again.
2001-01-04 07:05:00 +00:00
itojun
1e7e3274f4
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
2001-01-04 07:03:21 +00:00
itojun
f039f89ec5
prepare for sh3e[bl] split
2001-01-04 06:53:45 +00:00
minoura
cd4d6511c8
Correct `Year 2001 problem'.
...
Pointed out by Okamoto Kohichi <GHG03305@nifty.ne.jp> and
URA Hiroshi <ura@hiru.aoba.yokohama.jp>.
2001-01-04 06:45:18 +00:00
mycroft
c142ce184b
Several things:
...
* Only match an alternate which is in the same direction.
* Use 16-bit ulaw and alaw conversions for output, if possible.
* Store the interface handle in the `alternate' table, so we use the right
interface when creating pipes for devices with both play and record.
Record doesn't seem to actually return any data from the Telex frob, but at
least it doesn't crash or return EIO now.
XXXXXXXX
This is a big f*cking hack. Play and record need to be separated completely
if this code is ever going to even pretend to support full duplex.
2001-01-04 06:20:49 +00:00
sato
46921fecee
Avoid null pointer dereference. dc_sc may be null on early stage.
2001-01-04 06:07:43 +00:00
enami
f306f72978
Use cast where appropriate to avoid integer overflow.
2001-01-04 06:07:18 +00:00
takemura
d403e873db
Delete types.h and int_types.h in stand/include/mips and
...
use types.h and int_types.h with __COMPILER_INT64__ in kernel source.
The version of the binaries get 1.16.4.
2001-01-04 06:01:41 +00:00
mycroft
6ff81e44ec
No really, this is half-duplex for now. Lame.
2001-01-04 05:25:24 +00:00
sato
9d298fafdb
adapt resent config_hook.h
2001-01-04 05:20:37 +00:00
sato
9eb0981033
re-define CONFIG_HOOK NICKNAME.
...
add some macros.
2001-01-04 05:16:26 +00:00
shin
ce0d1ad2fe
- don't ignore DEFCOPTS (Makefile.mips).
...
- DEFCOPTS of hpcmips is "-Os -mmemcpy" (std.hpcmips).
2001-01-04 05:13:30 +00:00
sato
3131dc2c04
make compilable.
2001-01-04 05:01:59 +00:00
itojun
a493f2d3fd
typo. struct fpregs -> struct fpreg
2001-01-04 04:42:59 +00:00
mycroft
ab1d9b87b0
Make some vague attempt to handle devices that do both input and output. This
...
probably needs more work, but at least my Telex frob can play music now.
Also, AUDIO_DEBUG -> UAUDIO_DEBUG.
2001-01-04 03:53:09 +00:00
enami
62f0a92d52
Avoid null pointer dereference. dc_sc may be null on early stage.
2001-01-04 03:03:04 +00:00
enami
596f0820de
Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works.
2001-01-04 01:35:21 +00:00
enami
25481ad786
Redo previous; we need to notify kbd driver.
2001-01-04 01:33:37 +00:00
itojun
f5f5aac99a
look at __LITTLE_ENDIAN__ (gcc symbol) to determine which endian we are in.
...
makes the file bi-endian.
2001-01-04 00:51:15 +00:00
enami
0e081e1b48
Missing newline in log messsage.
2001-01-04 00:17:52 +00:00
thorpej
d04f6f6d57
Just garbage-collect the #if 0'd pmap_transfer() stuff.
2001-01-04 00:17:43 +00:00
itojun
16b3064038
split big/little endian better.
2001-01-03 23:49:21 +00:00
mycroft
29ecdf4b0c
Regen.
2001-01-03 23:15:14 +00:00
mycroft
cbfa3ad17d
Add Chrysalis-ITS LunaVPN card.
2001-01-03 23:14:39 +00:00
eeh
4020842234
Fix faults caused by incorrect cacheing information in the pv_entry.
2001-01-03 23:05:22 +00:00
enami
62a4aefda9
Avoid null pointer dereference so that boot -d works again.
2001-01-03 23:03:45 +00:00
enami
7eab063a4f
Use device_lookup.
2001-01-03 23:00:24 +00:00
thorpej
33338b633a
ANSI'ify, and inline userret().
2001-01-03 22:15:38 +00:00
thorpej
09ffed2ba0
ANSI'ify.
2001-01-03 21:40:25 +00:00
thorpej
dbe63d5a81
Some more slight cleanup.
2001-01-03 21:39:20 +00:00
thorpej
5602df2e07
Fix a couple of comments.
2001-01-03 21:27:07 +00:00
ad
a06fc2bf4b
Fix thinko in previous.
2001-01-03 21:17:05 +00:00
ad
5fcbd5f722
- Fix a number of bugs with the configuration stuff.
...
- Bash the passthrough interface into working order.
- Add an ioctl to retrieve the `tidmap'.
2001-01-03 21:04:01 +00:00
ad
8494f44b67
Make dumps work, and put the first part of detach into ld.c.
2001-01-03 21:01:28 +00:00
thorpej
c3d730df25
ANSI'ify.
2001-01-03 20:29:58 +00:00
fvdl
3456657259
Bump shm max pages value to a more realistic one.
2001-01-03 20:19:33 +00:00
thorpej
a2a696618e
Restructure alpha_sgmap_dmamap_create() slightly.
2001-01-03 20:12:34 +00:00
thorpej
db36913c87
The code that creates/destroys SGMAP DMA maps is the same; put it
...
in a common place and share it.
2001-01-03 19:15:59 +00:00
itojun
1d25215235
$NetBSD$
2001-01-03 18:15:47 +00:00
itojun
10e1d3091a
share sys/arch/sh3/conf/Makefile.sh3 across sh3-based architectures.
...
cleanup param.h a bit.
2001-01-03 18:14:44 +00:00
itojun
f66249f478
dreamcast went to sys/arch/dreamcast
2001-01-03 17:59:02 +00:00
itojun
4eb5bbbdc2
wdog* does not compile due to the lack of WDOG_IRQ.
2001-01-03 15:42:48 +00:00
pk
cf53c74834
* Apply proper cast for 32 -> 64 bit pointer argument conversion.
...
* Since probeget() isn't geared up to deal with _arbitrary_ memory fault
types (and doesn't work at all when called from an interrupt context),
add explicit sanity checks on a stack frame's contents before use
(XXX - needs revisiting).
2001-01-03 15:33:34 +00:00
itojun
00fbe713e7
remove #if 0'ed portion
2001-01-03 15:26:17 +00:00
itojun
4469b35a09
retain empty "compile" directory
2001-01-03 15:22:14 +00:00
bouyer
286f4f934f
Add a 'flag' member to struct puc_attach_args and struct port. For
...
PUC_PORT_TYPE_COM, use it to store the clock frequency (with 8 lower bits
to 0, used for real flags if needed).
Update all descriptions to set flags to 0 for LPT or COM_FREQ for COM.
Add support for the VScom PCI-800H 8 port serial adapter (which uses
a 14.7456 Mhz crystal instead of the standart 1.8432Mhz :)
XXX now that we can pass other frequency than COM_FREQ, the VScom PCI-800
entry could probably be updated to DTRT - does anyone have one ?
2001-01-03 15:13:15 +00:00
takemura
c5fd828440
replace 'long long' with int64_t to compile stand alone program with
...
compiler other than GCC.
2001-01-03 10:08:55 +00:00
tron
a9fb04248b
Correct comment behind version number.
2001-01-02 23:35:56 +00:00
augustss
c2b9d052ba
Cosmetics.
2001-01-02 23:08:54 +00:00
tron
0ce4a9a0de
Use highest bit of minor as an extra bit for the partition number to
...
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
augustss
3ea054452a
Add placeholder for firmware.
2001-01-02 22:38:51 +00:00
augustss
0e9ef4adc0
Forgotten commit for EZ-USB loader.
2001-01-02 22:24:00 +00:00
matthias
4cefdbee45
make sendsig/sigreturn work with p_sigctx.
2001-01-02 19:16:34 +00:00
augustss
32e4d7004e
Add a transient driver for the YAP phone that downloads firmware into
...
the EZ-USB chip. After downloading the firmware the device detaches
and then reattaches as a composite device (audio + HID).
XXX For now there is no firmware committed since the vendor (Silicon
XXX Portals) has not yet agreed that we can redistribute their firmware.
2001-01-02 18:52:44 +00:00
augustss
5b86e8bfa8
Add subroutines to download firmware into Cypress (formerly Anchor)
...
EZ-USB chips.
2001-01-02 18:49:56 +00:00
kleink
20a43da197
C99: add new parameters int_p_cs_precedes, int_n_cs_precedes,
...
int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn and
int_n_sign_posn to monetary locale information.
2001-01-02 10:53:24 +00:00
augustss
f586756bcf
Regen.
2001-01-02 09:53:16 +00:00
augustss
d3fd188459
Add a new TI hub chip.
2001-01-02 09:52:55 +00:00
simonb
eaf4f43227
Add ELF support.
...
Thanks to Steve Woodford for his help!
2001-01-02 04:28:37 +00:00
simonb
472a75b08f
Convert both bootblocks and mkboot to use libsa's loadfile(), and make
...
both ELF aware.
2001-01-02 04:14:33 +00:00
matt
4622cfafe0
Redefine the memset/memmove/bcopy/bzero/memset macros to use more agressive
...
constraints in their inline asm. Gcc generates much better code now.
2001-01-02 04:03:42 +00:00
mrg
d9a9b8d6d5
the tcds cards work in pmaxen. move tcds attachment to files.tc. leave asc
...
at tcds in files.alpha for now, and add a new `xasc at tcds' to files.pmax.
after pmax has moved fully to MI scsi (and `asc' is MI scsi), we should move
the device asc, etc., lines to files.tc.
2001-01-01 23:43:05 +00:00
thorpej
bee6e31c0d
Don't equate pmap_update() with tlbflush(), but instead call
...
tlbflush() when that's what we mean (currently everywhere, except
in the one place in MI code where it is called).
The whole pmap_update() thing needs to be reexamined, but this helps
to clarify things a little with the currently-defined semantics of
that function.
2001-01-01 22:13:53 +00:00
thorpej
eb80878b1b
Happy new year!
2001-01-01 20:18:34 +00:00
ad
c29358e0f9
Don't try to configure `uninteresting' devices.
2001-01-01 19:03:30 +00:00
augustss
8afb11bb20
Don't match on a bunch of scanners that should be handled by a
...
different driver.
2001-01-01 18:52:05 +00:00
augustss
47c95db1c3
Regen.
2001-01-01 18:51:08 +00:00
augustss
f33102e85d
Add another scanner.
2001-01-01 18:50:42 +00:00
augustss
5806434428
Call vdevgone() with correct minor range.
2001-01-01 18:34:12 +00:00
augustss
2f1e60b46c
Support device detach.
...
Don't call scanjet_attach() for all HP scanners.
Also, ANSIfy while I'm here.
2001-01-01 18:28:49 +00:00
jdolecek
2ed3ce29ea
regen after makesyscalls.sh fix:
...
Avoid generating duplicate SYS_* defines to *syscall.h - is possible
for kern/syscalls.master's sys_getpid()/sys_getpid_with_ppid().
This fixes kern/11853 by Bernd Ernesti.
2001-01-01 16:45:07 +00:00
jdolecek
df458f620b
Avoid generating duplicate SYS_* defines to *syscall.h - is possible
...
for kern/syscalls.master's sys_getpid()/sys_getpid_with_ppid().
This fixes kern/11853 by Bernd Ernesti.
2001-01-01 16:41:43 +00:00
sommerfeld
aace86f946
MULTIPROCESSOR: The two calls to psignal() inside mi_switch() are
...
inside the scheduler lock perimeter and should be sched_psignal() instead.
2001-01-01 16:02:51 +00:00
bjh21
7866e2f2c9
Arrange that the return value of copyin() and friends be provided by
...
do_fault(), in preparation for do_fault() being able to get it from
uvm_fault().
2001-01-01 16:00:42 +00:00
tsubai
ad6af0a61b
Make lasttb and tickspending per-CPU.
2001-01-01 05:28:54 +00:00
tsubai
b3982b810e
Allocate intstk and spillstk for cpu0.
2001-01-01 05:23:17 +00:00
matt
ad346bb9eb
Convert a MALLOC with a variable size to malloc(). Saves 220 bytes of text
...
on VAX.
2001-01-01 05:17:26 +00:00
tsubai
61096678a3
Forgot to commit this...
2001-01-01 05:17:15 +00:00
tsubai
6c4981f735
Switch to the idle stack before releasing the sched_lock (rev 1.31 was
...
wrong).
2001-01-01 05:16:12 +00:00
tsubai
9a7bf182cd
MP support in external interrupt handler.
2001-01-01 05:01:11 +00:00
tsubai
26914e2bcf
Make want_resched and astpending per-CPU.
...
Add some per-CPU variables to cpu_info.
2001-01-01 04:33:39 +00:00
sato
f89afd86e1
re-disable experimental HPCFB_MULTI codes....
2001-01-01 01:42:03 +00:00
chs
5c68a1518a
zero the pages for newly allocated clusters in deextend() after we
...
notify UVM of the file's new size rather than in extendfile().
fixes PR 11852.
2001-01-01 00:25:41 +00:00
eeh
fe278fa440
Make INCR() atomic.
2000-12-31 21:05:21 +00:00
matt
ab88a97d88
de-__P. cleanup the whitespace a bit. add a very small optimization.
2000-12-31 19:41:41 +00:00
matt
143230cc74
Rename arithflt to trap. Change trap label to Xtrap. This is due to that
...
arithflt is really the trap handler so call it that.
2000-12-31 19:27:24 +00:00
castor
a0c38fa362
Fix sendsig/sigreturn for SOFTFLOAT case.
2000-12-31 19:06:40 +00:00
ad
2f5cf27275
PR 6402: some SCSI devices use \377 as blank, so adjust scsipi_strvis().
2000-12-31 17:54:29 +00:00
ad
e3514a4191
PR 4853: we fork a lot more during startup these days. Wrap nextpid to 500.
2000-12-31 17:43:41 +00:00
bjh21
bc86e85531
Correct various initial comments, and provide a useful overview of how the
...
MEMC works, at the suggestion of chs.
2000-12-31 16:09:34 +00:00
augustss
9a52f80f0f
Make the controller survive suspend/resume. Thanks to Steve Woodford
...
<steve@mctavish.co.uk> for testing.
2000-12-31 14:29:54 +00:00
ad
196d40d973
Regen.
2000-12-31 14:04:26 +00:00
ad
fb04e415dd
Fix Mylex products.
2000-12-31 14:03:24 +00:00
ragge
de50d468c9
Do not touch pv_table when mapping/unmapping I/O registers. This caused
...
mmap() of framebuffers to give unpredictable faults.
2000-12-31 11:16:55 +00:00
matt
625392adca
improv the stack trace by printing the fp at the start of each line and
...
noticing trap frames, and printing that information as well. For example
Stack traceback :
0x87ba2bc4: _arithflt+0x1a7(0x87ba2cac)
0x87ba2c50: trap type=0x8c code=0x8 pc=0x800008ef psl=0xc00000
0x87ba2c1c: _copystr+0x23(0x8095f378,0xa539f,0x86c0bd20)
2000-12-31 05:52:48 +00:00
sommerfeld
f2bdd546dd
Add a missing simple_unlock() to the LK_NOWAIT/VXLOCK error case in vget().
2000-12-31 03:13:51 +00:00
david
d0ec21672f
Increase psbuf size as in FreeBSD patch. We don't have jail(8), so the
...
recent bugtraq exploit doesn't apply, but it could be exploitable in
other ways.
2000-12-30 23:14:52 +00:00
ragge
9bbf84e4ca
Changes for dzkbd/dzms. This is not yet finished, but at least the
...
kernel is useable.
2000-12-30 22:11:46 +00:00
matt
d962f9c52e
Add a kludge that makes stack tracebacks work.
2000-12-30 20:16:34 +00:00
matt
8a55dd0d98
Make this compile without having a SMG device.
2000-12-30 20:15:02 +00:00
matt
c03997bb51
Make this compile again.
2000-12-30 20:11:54 +00:00
mjacob
462ff196a4
[ dummy checkin to add to previous CVS ]
...
It's probably not really a compiler bug- somebody pointed out
that it was the kernel making strings readonly. But I do think it's
a bug. The actual code was really more like:
char *revname;
...
revname = "2X00";
...
revname[1] = '2'; <<<<<<<<< BOOOM
The variable revname is not a const. If I had said
const char *revname = "2X00"
...
revname[1] = '2';
that would indeed be breaking const rules.
2000-12-30 19:47:20 +00:00
mjacob
366352e859
Enable Qlogic PCI cards
2000-12-30 19:30:50 +00:00
mjacob
8adadc9bda
There's a compiler bug for sparc64 that makes the construct:
...
char *foo = "XXXX";
...
foo[1] = 'Y';
blow up (in the kernel) with the 2nd assignment. Work around it here-
it's probably just as well- I was spending more in cpu instructions doing
the assignment than I was saving in string space (it would have been
cheap on a pdp11 or a 68k- but the address loads and assignments on something
like sparc or alpha way outweigh the savings in space. Tsk.).
2000-12-30 19:30:09 +00:00
wiz
1a40e855c8
Undo pci_intr_map change in non-NetBSD part of the file.
2000-12-30 17:02:53 +00:00
wiz
1796fa4bd8
Fix pasto in comment.
2000-12-30 16:55:24 +00:00
wiz
2ad3fd958d
Merge 2.18 to trunk.
2000-12-30 16:52:36 +00:00
bjh21
c1ad66d687
Whitespace cleanup.
2000-12-30 13:53:26 +00:00
bjh21
66c70101f3
Add a cache flush to pmap_fault() when it adds a r/w mapping, since there's
...
probably an old mapping around that we don't want to get stale.
2000-12-30 13:42:12 +00:00
bjh21
e9d5e8f1e5
Overhaul v(un)mapbuf: Don't worry about unmapping things (the pmap can handle
...
multiple wired mappings now). Do worry about seeding referenced/modified
information correctly.
2000-12-30 13:33:15 +00:00
bjh21
e4c6b6f4e5
pmap_kenter_pa(): Seed referenced/modified information correctly.
2000-12-30 13:31:50 +00:00
mjacob
c6b9ad5aeb
Use bootverbose to now set whether or not we add
...
ISP_LOGCONFIG and ISP_LOGINFO messages into the
default logging mask.
2000-12-30 08:49:11 +00:00
castor
02d83a4c77
Fix PR port-hpcmips/11477 "only hpcmips panics with wireless network cards"
...
Adjust the payload of receive mbufs so the data following the
ethernet header is aligned.
2000-12-30 07:57:52 +00:00
mjacob
a8b078eb95
more missing #ifdef DEBUG goop
2000-12-30 07:42:42 +00:00
mjacob
f8e9b56ebf
Fix a 'defined but not used' error (GENERIC doesn't define DEBUG).
2000-12-30 07:34:40 +00:00
tsutsui
93f151b221
Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE (from macppc)
...
so that the kernel can boot with 128MB memory.
XXX: How can we determine size of the buffer cache on UBC?
2000-12-30 07:10:21 +00:00
tsutsui
647fc19862
Sync with GENERIC:
...
> PCMCIAVERBOSE (commented out)
> isapnp at isa (commented out)
> midi at pcppi
> ep at isapnp (commented out)
> ix at isa (commented out)
> iy at isa (commented out)
> wdc at isapnp (commented out)
> wss at isapnp (commented out)
>
> The isapnp stuff is commented out because it may crash due to unimplemented
> alloc methods on some machines with some devices. This should really get
> fixed.
2000-12-30 07:01:31 +00:00
sato
a2fe1adf2a
for calling sc->sc_acessops->pollc,
...
use wsdisplay_cd.cd_devs[unit] in accessing wsdisplay_softc
instead of casting pointer.
XXX: i compiled it in i386, hpcmips, alpha.
2000-12-30 05:38:50 +00:00
eeh
804add680f
Regen.
2000-12-30 04:39:03 +00:00
eeh
6cfa6f67c1
Fix typo.
2000-12-30 04:38:02 +00:00
eeh
44f785d4cd
Add Sun psycho bus controller.
2000-12-30 04:34:51 +00:00
mjacob
e5482757b5
Fix at least alpha kernel builds. You can't pun a pointer to a dev_t on
...
alpha. This is also a bad idea. I really don't know the ws code at all
or I would just fix the whole issue.
2000-12-30 02:58:42 +00:00
sato
6592f8f942
notify console polling mode or not to lower level video driver.
...
turn polling mode when console are polling mode.
disable redrawing when not EMUL mode.
2000-12-30 01:55:24 +00:00
sato
9785bf0526
notify console polling mode or not to lower level framebuffer driver.
...
notify EMUL mode or not to lower level framebuffer driver.
these may use framebuffer level hardware acceleration/software optimization.
2000-12-30 01:41:51 +00:00
augustss
2c65dfb9b5
Be less talkative in attach.
2000-12-30 00:37:24 +00:00
bjh21
b3eae7d1c8
Since we need to have an aout_machdep.h, we may as well borrow the arm32 one.
2000-12-29 23:08:31 +00:00
bjh21
36f8a8d0f8
Purge vestiges of a.out support.
2000-12-29 23:07:29 +00:00
bjh21
00a01e20d8
Sync with arm32. No functional changes.
2000-12-29 22:42:23 +00:00
is
d1089630fa
The name is X-surf, not X-serv. I'll never learn this.
...
Thanks to Petri Koistinen for the correction.
2000-12-29 22:39:29 +00:00
is
9ae07c3362
Update for vlan addition and Xsurf name addition.
2000-12-29 22:36:51 +00:00
is
f2ff118b7c
Add name of X-surf Ethernet board. Patch by Petri Koistinen.
2000-12-29 22:31:56 +00:00
fvdl
bcac62574c
Implement KDGETMODE ioctl.
2000-12-29 22:06:58 +00:00
mycroft
584db4dfbf
No need for this to be checked in any more.
2000-12-29 22:06:17 +00:00
mycroft
1642c89d86
Add some random things I've tested over the years:
...
PCMCIAVERBOSE (commented out)
isapnp at isa (commented out)
midi at pcppi
ep at isapnp (commented out)
ix at isa (commented out)
iy at isa (commented out)
wdc at isapnp (commented out)
wss at isapnp (commented out)
The isapnp stuff is commented out because it may crash due to unimplemented
alloc methods on some machines with some devices. This should really get
fixed.
2000-12-29 22:03:47 +00:00
mycroft
c95706b81d
Long gone.
2000-12-29 21:52:03 +00:00
mycroft
efc2dc7903
ZHADUM is dead, ZSR doesn't need to be checked in.
2000-12-29 21:50:43 +00:00
mycroft
2a6abdcdd6
No reason for this to be checked in any more.
2000-12-29 21:48:32 +00:00
mycroft
15deccd2a8
Add ray at pcmcia.
2000-12-29 21:47:52 +00:00
mycroft
a5382a0bf9
Long gone.
2000-12-29 21:45:12 +00:00
briggs
f7cf6d4afb
Do not try to second-guess the ncr53c9x driver by setting *dmasize to 0
...
if it is 64k. TCL and TCM will be set properly if we just leave it alone.
Not only that, the ncr53c9x driver issues TRPAD or TRANS based on this
value. We do not want TRPAD in this case!
2000-12-29 21:31:44 +00:00
fvdl
2d53941bd4
Hardcode what the linux uname() calls return (Linux 2.2.5 is the current
...
value). A few major applications check for this (like VMware), and
there is no other way to trick them. Needs a more generic solution
eventually.
2000-12-29 21:07:16 +00:00
bjh21
af14995e51
Create a shared set of ARM sources for libkern and move arm26 over to using
...
them.
These are identical to the current arm32 sources with the following exceptions:
- References to C labels are wrapped in _C_LABEL().
- Function returns have an alternate version inside #ifdef __APCS_26__.
2000-12-29 20:51:56 +00:00
fvdl
1b9256990d
Regen.
2000-12-29 20:11:52 +00:00
fvdl
17f991c744
Don't pass through link(2) directly, as we need to do altpath checks.
2000-12-29 20:11:32 +00:00
fvdl
1575b3e35a
Regen.
2000-12-29 20:10:46 +00:00
fvdl
cc449a70ed
Don't pass through link(2) directly, as we need to do altpath checks.
2000-12-29 20:10:17 +00:00
fvdl
e8e363d309
Regen.
2000-12-29 20:09:57 +00:00
fvdl
54450b21c0
Don't pass through link(2) directly, as we need to do altpath checks.
2000-12-29 20:09:39 +00:00
fvdl
f90b2fc517
Avoid sign extension problem in offset.
2000-12-29 20:08:54 +00:00
fvdl
77765cf28f
Do alternate path checks for link(2).
2000-12-29 20:08:31 +00:00
fvdl
6f552a029f
Allow the EJUSTRETURN hack for PTIOCLINUX-passed through ioctl calls.
2000-12-29 20:07:53 +00:00
fvdl
b930296d07
Under Linux it's possible to return values through the ioctl system
...
call directly (i.e. not a reference argument, but a direct return
value). So far I have only seen this with binaries that talk
to their own device modules, using non-standard ioctl calls.
Hence, allow for a pass-through ioctl call using PTIOCLINUX to
return EJUSTRETURN, signalling that the return value is in
the 'data' field of the structure, which can then be put in 'retval'.
2000-12-29 20:07:25 +00:00
bjh21
df10cbcda9
Sync with arm32 (fixes warnings compiling /bin/sh and probably others).
2000-12-29 19:30:34 +00:00
tsutsui
b1cf284bd6
s/AP0_UDMA_MASK/APO_UDMA_MASK/
2000-12-29 18:59:01 +00:00
eeh
3ec59504f9
Lower PIL_SCHED below the zs interrupt so we don't get silo overflows.
2000-12-29 18:37:05 +00:00
eeh
f5c0f0c5a8
Separate schedclock from statclock on machines w/counter-timers. This
...
lets us lower splsched().
2000-12-29 18:35:18 +00:00
eeh
e8b285df6a
pseg_get tells us whether it really needed that spare page after all.
2000-12-29 18:32:47 +00:00
eeh
fcae6c100a
Fix LOCKDEBUG issues.
2000-12-29 18:29:19 +00:00
briggs
811d597c78
Rework the esp driver a little bit to improve performance. This requires
...
an ugly bit where we record the value of a2 while handling a "nofault" bus
error in locore.s in order to know how far the transaction got before a
disconnect (see esp.c comments for more details on this).
Also get rid of a loop (and delay()!) in the interrupt routine--hinted at
and researched by Chas Williams <chas@cmf.nrl.navy.mil>.
2000-12-29 17:23:31 +00:00
eeh
60edf7be2c
Add a bus type for psycho controllers.
2000-12-29 17:15:04 +00:00
eeh
a5ecd862b1
Fix some 32-bit assembly code.
2000-12-29 17:13:33 +00:00
eeh
d8887bd0ea
64-bit address values should be unsigned.
2000-12-29 17:12:05 +00:00
eeh
5f7376ce1d
Fix broken printf()s.
2000-12-29 17:09:49 +00:00
eeh
ac00f21218
Fix broken printf().
2000-12-29 17:08:54 +00:00
eeh
09c04e2283
Update for new signal structures in struct proc.
2000-12-29 17:07:12 +00:00
sato
fdbe4057ec
- use struct platid_date instead of struct vrc4172pwm_platid_param.
...
- delete struct vrc4172pwm_platid_param.
XXX: vrc4172pwm driver currenty not functional yet.
2000-12-29 15:54:17 +00:00
minoura
9132306dbc
CMACHFLAGS defaults to -m68020-60.
...
Can be overridden in config files; add examples.
2000-12-29 15:18:37 +00:00
augustss
271adbd54e
Try to get rounding right when setting mixer values.
2000-12-29 14:49:28 +00:00
augustss
560f4a2254
Set the mixer delta field.
2000-12-29 13:28:41 +00:00
sato
b8bfd0cc52
* vrc4172pwm driver
...
- add missing functions
- make compilabe.
2000-12-29 11:44:44 +00:00
augustss
b85fdbbc47
Add a field in mixer_devinfo_t that indicates the minimum delta to
...
change mixer value. A value of 0 indicates that the driver doesn't
supply a delta.
The change is backwards compatible.
2000-12-29 10:00:08 +00:00
sato
1ed5e58cb7
* implimant CONFIG_HOOK_PMEVENT_BATTERY&CONFIG_HOOK_PMEVENT_AC
...
based apm state transition.
- change CONFIG_HOOK_PMEVENT_BATTERY message.
XXX: currentry none send these events.
2000-12-29 08:12:08 +00:00
thorpej
d2bbed89e7
Fix non-blocking BPF reads, from Guy Harris, kern/11836.
2000-12-29 01:55:49 +00:00
augustss
34ee8a0f06
Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire.
...
The descriptor it reports is broken.
XXX Not tested, because I don't have the device.
2000-12-29 01:47:49 +00:00
augustss
79f0bd6e1f
Update many URLs.
2000-12-29 01:24:55 +00:00
augustss
e9853f047a
Update location of specs.
2000-12-29 01:14:15 +00:00
thorpej
8cccee3a4a
Define a bpf_filter attribute, and include bpf_filter.o when we
...
have it. Give the attribute to things which need to use the BPF
virtual machine.
2000-12-29 00:54:58 +00:00
sommerfeld
851de295eb
Change pci_intr_map to get interrupt source information from a "struct
...
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
mjacob
d4c32f2a63
Apply nearly all of Bill Sommerfeld's -Wformat patches. The one
...
change I didn't take is the %llu format- I can't have a common
across multiple platform module assume a %ll argument capability-
which really pointed out that I shouldn't be trying to *print*
something which could long long.
2000-12-28 22:27:46 +00:00
mjacob
3823efc25a
Apply Bill Sommerfeld's -Wformat changes.
2000-12-28 22:23:41 +00:00
thorpej
054b845cec
Fix a small typo that would cause IP Filter to not hook in to
...
pfil_hooks properly on kernels that included IPv6 support.
2000-12-28 21:42:49 +00:00
thorpej
ad5b855ef0
Back out the sledgehammer damage applied by wiz while I was out for
...
the holiday.
2000-12-28 21:40:59 +00:00
mjacob
0dae1b3d9a
Turn ISP_LOCK/ISP_UNLOCK into ISP_ILOCK/ISP_IUNLOCK macros for routines
...
that are driven from a timeout (oops, they're on the interrupt stack).
2000-12-28 21:37:04 +00:00
itojun
8b9fb822b0
do not touch ra_addr if it is NULL. from IIJ SEIL team
2000-12-28 21:23:00 +00:00
augustss
20d1ae1adb
Add two more quirks:
...
UQ_AU_NO_FRAC for audio devices that cannot handle adjustment for fractional
sample size.
UQ_AU_INP_ASYNC for input devices that claim to be adaptive, but are in fact
asynchronous (an easy mistake to make unless you read the specs carefully :)
2000-12-28 11:56:22 +00:00
augustss
1e0da50daa
Regen.
2000-12-28 11:53:25 +00:00
augustss
bdcc0b7ad1
Add device no for YAP phone with firmware loaded.
2000-12-28 11:53:01 +00:00
jdolecek
1e46d6c702
use NetBSD utrace(2) facilities for FreeBSD utrace(2) emulation;
...
use id 'FreeBSD utrace'
2000-12-28 11:18:01 +00:00
jdolecek
7899fd7798
regen - utrace(2) addition
2000-12-28 11:16:48 +00:00
jdolecek
a80dee65df
add utrace(2) - this syscall allows to add user ktrace entries
...
idea from FreeBSD, but added argument (const char *id) so that it's possible
to differentiate between entries from different sources
2000-12-28 11:10:15 +00:00
augustss
4dbac77503
#define for USB_2_0
2000-12-28 10:40:36 +00:00
castor
a698752050
Disable FPU in sys___sigreturn14() so floating point registers are
...
properly restored.
2000-12-28 09:27:09 +00:00
mjacob
8493d154d1
roll to 2.01.26 f/w
2000-12-28 08:30:40 +00:00
mjacob
d81d268d13
Use the ISP_CFG_NOINIT flag to decide whether to complete the full init
...
process steps (this is used in some platforms where you want to bring
the adapter to ready (to get a WWN, e.g.) , but not engage either target
or initiator mode until some later time). Set the correct defaults WWNs.
2000-12-28 08:26:12 +00:00
chs
1e651a1688
remove some more leftovers from Mach.
2000-12-28 08:24:55 +00:00
mjacob
a5498e1514
add an ISP_CFG_NOINIT flag
2000-12-28 08:24:17 +00:00
mjacob
b551237fb6
add two minor ATIO2 offsets
2000-12-28 08:23:48 +00:00
mjacob
829a533bfb
Restore the change fvdl made. Sorry about not noticing it. The
...
header (about 'Maintainer') is supposed to help encourage folks
to coordinate with me.
2000-12-28 08:11:52 +00:00
jmc
5649071c21
Add x/m option functionality
2000-12-28 07:30:06 +00:00
sato
e527c3f384
add platid_search() for search platid related data from tables.
...
add platid_search() test program in platid_test.c. it's sample.
2000-12-28 07:10:14 +00:00
matt
a589927cbc
Make identical to arm32 version. (add same parens, use __P, etc.)
2000-12-28 03:55:14 +00:00
matt
f1f4acfb4d
Remove reference to CLBYTES
2000-12-28 03:54:15 +00:00
matt
1ea4047532
Add __ELF__ case for RCSID. Now identical to arm26 version.
2000-12-28 03:53:31 +00:00
matt
61b05af542
Except for the RCSID, this file is now identical with arm32/include/ansi.h
2000-12-28 03:52:50 +00:00
augustss
5236b76556
Make message about ignored endpoint a little clearer.
2000-12-28 01:01:42 +00:00
augustss
d2098567fe
Add audio terminal types.
2000-12-28 00:29:58 +00:00
sommerfeld
5217f6335b
Let COMPAT_LINUX build with DEBUG
2000-12-27 23:47:58 +00:00
jdolecek
69fa90cc78
s/SYS_NSYSENT/FREEBSD_&/
2000-12-27 23:20:29 +00:00
bjh21
c00a8ab5fd
Calculate the required amount of screen memory, rather than just trusting the
...
number that RISC OS gives us (which may be far too large).
2000-12-27 22:13:42 +00:00
jdolecek
c490f5c6a1
update commented out code to recent changes of signal structures
2000-12-27 22:06:07 +00:00
fvdl
7fbbc11d9c
Regen.
2000-12-27 22:04:35 +00:00
fvdl
7cd004ead8
Add all uid and gid calls, and do the right thing for the older 16 bit
...
ones.
2000-12-27 22:04:05 +00:00
fvdl
41e840d9c7
Regen.
2000-12-27 22:03:10 +00:00
fvdl
11156e7e47
Add all uid and gid calls, and do the right thing for the older 16 bit
...
ones.
2000-12-27 22:02:41 +00:00
jdolecek
7ec49a1f35
update commented out code to recent changes of signal structures
2000-12-27 22:01:43 +00:00
fvdl
62af6738b1
Use CHECK_ALT_* for chown and lchown, missed in my previous commit.
...
Get *id16 calls right; most can be passed through directly, but
some need the 16->32 check for -1 values.
2000-12-27 22:01:42 +00:00
jdolecek
c6a69abc26
adapt to recent changes of signal structures
2000-12-27 21:58:52 +00:00
bjh21
9822871467
Add a special call to uvm_page_physload to register RISC OS's zero page as
...
free at startup.
2000-12-27 20:43:44 +00:00
bjh21
1b364c5082
pmap_confess() is unused and doesn't work any more. G/C it.
2000-12-27 18:38:50 +00:00
bjh21
c481cdca92
Overhaul of data-abort handling:
...
- Make data_abort_address() return the whole affected range, rather than
just one end.
- Don't rely on pmap_confess(). Instead, for LDM/STM, behave as if two faults
had occurred, one at each end of the range.
- Separate out fault handling into do_fault(), and call it from
data_abort_handler() (twice) and prefetch_abort_handler().
2000-12-27 18:35:18 +00:00
bjh21
58e80f030f
Two batches of changes:
...
1: Cleanup of syscall() -- treat the arguments as an array of register_t
throughout. This saves a few casts, and generally makes seeing what's
going on easier.
2: Be a little more careful in the handling of data aborts on kernel
addresses: don't use the kernel's map unless the access was actually from
a kernel mode. This is how the arm32 data abort handler behaves.
2000-12-27 16:57:09 +00:00
bjh21
186792c5b7
Use KASSERT for simple assertions.
2000-12-27 16:50:12 +00:00
bjh21
47d4a4d009
Extra diagnostic assertion: subtle pmap bugs can ultimately lead to trying
...
to use NULL credentials for NFS ops, so spot them before we dereference them.
2000-12-27 16:35:37 +00:00
tsutsui
59fcebab05
Regen. (Fix Acard UDMA IDE)
2000-12-27 15:36:42 +00:00
tsutsui
72347b9f8b
Fix entries of Acard UDMA IDE controllers.
2000-12-27 15:32:33 +00:00
bjh21
2433e71e6e
Medium-sized pmap overhaul:
...
- Use UVMHIST for debugging messages, rather than printf
- Rely on the caller of pmap_enter to tell us how to manipulate referenced/
modified bits in the kernel pmap.
[ Suggested by chs -- may need work on the rest of the kernel. ]
- Split third-stage initialisation out of pmap_create() into pmap_init2().
- Bug fix: when relocating pv_table, fix up all references to it as well.
- Bug fix: in pv_release(), if pulling up a pv_entry to the head of the
list, correct the reference from its pmap.
2000-12-27 15:16:04 +00:00
sato
6276ccbc58
- rewrite codes using new CONFIG_HOOK_SET.
2000-12-27 12:22:07 +00:00
sato
4b9ae225e0
-rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:10:05 +00:00
sato
dc6a141444
- rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:08:03 +00:00
sato
22b3467f71
- merge CONFIG_HOOK_OUT and CONFIG_HOOK_SET and CONFIG_HOOK_POWERCONTROL
...
to CONFIG_HOOK_SET.
- merge CONFIG_HOOK_GET and CONFIG_HOOK_GETPOWER to CONFIG_HOOK_GET.
- merge CONFIG_HOOK_EVENT and CONFIG_HOOK_BUTTONEVENT to CONFIG_HOOK_ENENT.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET always have
msg argument as pointer.
- new CONFIG_HOOK_EVENT and CONFIG_HOOK_GET and CONFIG_HOOK_SET use
same event ids.
- CONFIG_HOOK_POWERCONTROL and CONFIG_HOOK_BUTTONEVENT still exist.
i shall rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:04:02 +00:00
sato
4e15bd1d3a
add Novac PCMCIA-IDE Card(Card for HD530P PCMCIA-IDE Box).
...
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'PnPIDE'.
2000-12-27 10:41:00 +00:00
kleink
dc6c0aa842
Make __restrict actually DTRT for non-C99 GCC >= 2.92.
2000-12-27 10:05:22 +00:00
chs
89b005fc27
when we fail to allocate anons to represent new swap space,
...
just return an error rather than panicing.
2000-12-27 09:17:04 +00:00
chs
910b4f2e20
fix some types so that files larger than 4GB work.
2000-12-27 09:01:45 +00:00
castor
a099ff1f75
Preserve the status register process_write_regs() to avoid confusion
...
about the current floating point context.
2000-12-27 08:28:12 +00:00
sato
0ebc2f12c2
fix typo.
2000-12-27 07:52:00 +00:00
chs
4e7404469d
fix several bugs:
...
- fix math when skipping writing pages that just need a commit.
- clear the needcommit stuff and PG_RDONLY flags on pages returned for
overwrite requests as well as for normal write faults.
- bail out of nfs_write() if we get an error.
- remove a bogus attempt to clean up after failed uiomove()s.
- bring over a workaround for a lock-ordering problem from the genfs code.
- add some missing MP locking.
2000-12-27 05:15:43 +00:00
chs
68b98ea45f
several bugs:
...
- in genfs_getpages() don't start read-ahead if we get an error on the
sync read, and always start read-ahead after the range of the sync read
if we do any at all.
- off-by-one error in genfs_size().
2000-12-27 04:47:43 +00:00
chs
de569051ad
VOP_GETPAGES() returns an E* error code, not a VM_PAGER_* error code.
2000-12-27 04:44:42 +00:00
augustss
bd1b9290e5
Regen.
2000-12-27 04:16:19 +00:00
augustss
96a684549d
Add a VIA chipset and Nvidia GeForce2 MX.
2000-12-27 04:15:53 +00:00
augustss
79431d7824
Simplify case statement a tiny bit.
2000-12-26 23:54:34 +00:00
bjh21
ce3cd11d08
Unreasonably simple fix for PR#11817: Don't worry about duplicate mappings,
...
just get pmap_fault to shove them back in. Crude, but effective. Fix inspired
by Chuck Silvers.
This breaks pmap_confess, but it probably deserves to die.
2000-12-26 23:18:50 +00:00
bjh21
939baa9f0d
Follow the herd: Use the MI md_root.c.
2000-12-26 19:55:52 +00:00
itojun
efa2b7073c
make mbstate_t bigger (32 -> 128 bytes).
...
XXX if you have libc after citrus locale import, please recompile libc,
and your applications that use mbstate_t (rather rare). really sorry
for the mess.
2000-12-26 10:35:28 +00:00
mycroft
a6fe4b78f2
Um, we need rnd.h so that cs_softc is defined properly. Overrunning structures
...
is bad.
NOTE: #IFDEF IN SOFTC DEFINITIONS IS BAD.
2000-12-26 09:42:21 +00:00