cgd
169563b7c1
#warn is _not_ the GCC CPP directive that gives a warning, #warning is.
...
(this code has, apparently, always been wrong, but current GCC is kind
enough to warn about unknown CPP directives.)
2001-01-06 00:35:54 +00:00
martin
7e14d8a67c
Cosmetics
2001-01-05 23:58:02 +00:00
martin
ebb91e152f
Disable the daic driver for now. It's microcode handling needs
...
some thougths (legal problems), and the driver is not ready
for prime time anyway.
2001-01-05 23:22:01 +00:00
martin
4c176b9806
Disable the daic directory for now, it breaks with OBJDIR builds.
...
This needs more thought.
2001-01-05 23:17:48 +00:00
jdolecek
d7f811d098
utrace(2): limit size of user data to KTR_USER_MAXLEN (currently 2048); return EINVAL if 'len' is bigger
2001-01-05 22:25:26 +00:00
jdolecek
2bd5bf0ec2
regen after utrace() parameter rename
2001-01-05 21:53:38 +00:00
jdolecek
fbc7e223d7
utrace(2): rename 'id' parameter to 'label'
2001-01-05 21:42:08 +00:00
christos
6d92451397
don't keep adding targets, but include bsd.kinc.mk... This time make obj borke.
2001-01-05 20:18:10 +00:00
martin
34875ea7b1
Now let it survive "make install" too.
2001-01-05 19:56:55 +00:00
is
b90c4c82d9
Make this actually sort-of-work for 68060 w. disabled FPU (tested), 68LC060,
...
and I suspect, 68LC040 and 68040V machines. Method used:
1. do NOT use the frames effective address at all
2. do NOT use the frames next instruction address, but
3. restore the "this instruction" pc into the pc field of the frame at the
beginning of the emulation, if we got a frame format 4.
TODO:
A. find the bug in the usage of the frame EA, and revert to using it.
B. find the bug in the usage of the frames next instruction address, and
consider whether it's worthwhile to use it.
C. make the emulation complete.... FEXP FETOM1, and the trigonometric functions
are missing.
2001-01-05 19:54:30 +00:00
tsutsui
8303e98e40
Fix typo (s/req/reg/).
2001-01-05 19:08:04 +00:00
martin
651aeb5899
don't let "make all" fail
2001-01-05 19:01:02 +00:00
aymeric
6a808ce8c8
Initialize VIA Technologies' 82C686's ICU as if it were a 82C586.
...
This fixes interrupt allocation problems on modern Compaq laptops.
2001-01-05 18:39:12 +00:00
bouyer
69153b6b36
Run at Ultra/66 on VIA controllers that can do it. PCI vendor/device/revision
...
is the same for the Ultra/33 and Ultra/66 version, so test writability of
the U66 enable bit (idea from Chris Cappuccio).
Thanks to David Carrel for testings.
2001-01-05 18:04:42 +00:00
tsutsui
52f9536913
Add isapnp devices.
...
XXX CS4232 is not probed properly.
2001-01-05 17:55:38 +00:00
tsutsui
d78ca7c54a
Add isapnp attachment for prep.
2001-01-05 17:49:43 +00:00
bouyer
cbf42ca2d1
Ops, make it compile again.
2001-01-05 15:34:05 +00:00
fvdl
3950869204
Set Linux version to 2.0.38 for now, until the clone + "real time signal"
...
problems are fixed.
2001-01-05 15:31:15 +00:00
bouyer
5c800a0dab
Add support for Ultra/100 on intel ICH2; from Tomokazu HARADA in kern/11747.
2001-01-05 15:29:39 +00:00
bouyer
2a63f0a46c
Add support for Ultra/100 on the HPT370
...
XXX the datasheet for the HPT370 is wrong
While I'm there clear the DRIVE_DMA flag when we're going to use Ultra/DMA
where it was missed, so that wdc_print_modes() only prints what's used.
2001-01-05 15:20:53 +00:00
takemura
5d91708fb9
Generating workspace and project files for eMbedded Visual Tools 3.0.
2001-01-05 15:00:56 +00:00
martin
242656c78a
Enable the imported ISDN4BSD based ISDN subsystem.
...
This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/ .
It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").
Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.
2001-01-05 13:09:15 +00:00
martin
c3cb638bca
Initial import of ISDN4BSD release 0.96
2001-01-05 12:49:52 +00:00
sato
37682e5488
- print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM
...
when boot verbose mode.
for debuging LCD control and/or keyboard cmds.
2001-01-05 09:09:48 +00:00
sato
78242b5fd8
- fix WSDISPLAYIO_MODE_EMUL mode redrawing.
...
- avoid null pointer dereference.
- clean up hpcfb_show_screen().
2001-01-05 09:04:55 +00:00
mjacob
6cb4620b76
(some of these changes were made in the previous revision- oops)
...
Say which mailbox command times out (polled or interrupting). Also,
give them a bit more time to timeout (5 seconds instead of 2).
2001-01-05 07:03:54 +00:00
mjacob
9d7f6e219f
Ian McDonnell <apriori@world.std.com> made me see the error of my ways.
...
*Cough*. Ahem. I hadn't been setting error to XS_SENSE when there was
a check condition. Major blunder.
2001-01-05 07:02:00 +00:00
augustss
49f333783f
Don't make local defines for stuff that's already in ac97reg.h.
2001-01-05 03:33:39 +00:00
augustss
5f3c3e0d6f
Add definitions for some bits in ID and STATUS regs.
2001-01-05 03:32:46 +00:00
augustss
cc9f003455
Add some codecs.
2001-01-05 03:32:11 +00:00
marcus
fb7be69768
Fixed initial cache setup to handle launch from P2 as well as P1.
2001-01-05 01:14:31 +00:00
marcus
d1e05bffc3
Updated linker script set include only RAM based image for Dreamcast.
2001-01-05 01:13:23 +00:00
tsubai
0374c83129
Fix lost-software-interrupt bug.
2001-01-04 15:01:25 +00:00
itojun
6562709f3a
typo fix. PR 11889
2001-01-04 11:48:44 +00:00
bouyer
4dc117d433
Ops, add COM_FREQ to a few PUC_PORT_TYPE_COM I missed.
...
Thanks to Bernd Ernesti for pointing this out.
2001-01-04 11:34:27 +00:00
itojun
828bec041b
committed local change by mistake :-)
2001-01-04 09:49:29 +00:00
itojun
a8507fa1e7
pkgsrc/cross/sh-* do not supply cpp
2001-01-04 08:55:08 +00:00
veego
3e63d458f0
Use COM_FREQ for COM part of the last commited entry.
...
Why are there other drivers here which have PUC_PORT_TYPE_COM but don't
use COM_FREQ or even don't have the extra field?
2001-01-04 08:49:31 +00:00
veego
17718db1b9
Add support for boards with an Oxford Semiconductor chip.
...
This one was an I/O Flex PCI I/O Card Model-223 with 4 serial and
1 parallel ports.
XXX We need to move the PCI IDs to pcidevs.
2001-01-04 08:43:21 +00:00
itojun
26b1bcce00
cc -v is too verbose
2001-01-04 08:39:53 +00:00
itojun
973149dcb3
sh3 split
2001-01-04 08:32:02 +00:00
itojun
a629edfcca
use -O1 for now, -O2 dies
2001-01-04 07:55:32 +00:00
sato
c381bbbf74
add missing evtype.
2001-01-04 07:55:15 +00:00
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