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