ichiro
cbcfff63ec
Add Intersil Prism2.5 Mini-PCI wavelan.
2001-10-13 15:00:23 +00:00
bjh21
9202040b70
Treat acorn32 the same as arm32 for the purposes of installing include files.
...
This is necessary to make the libstdc++ install work with the old toolchain,
since it installs <machine/_G_config.h> into /usr/src/${MACHINE}. There may
be other dependencies on the Old Way, too.
2001-10-13 14:46:00 +00:00
bjh21
cc037046d6
Don't update referenced/modified bits if a page is entered using
...
pmap_kenter_pa. pmap(9) says unmanage mappings don't get referenced/modified
tracking, and this seems to stop me getting a panic while starting up with
root on NFS.
2001-10-13 14:23:31 +00:00
augustss
d701e45c14
Two changes to the wsmux code:
...
* Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely
specified with the kbdmux locator.
* Allow keyboards and mice that have a mux to be opened in the regular way.
These changes should be totally backwards compatible.
2001-10-13 13:35:59 +00:00
augustss
e557cebfce
Add kbdmux locator to wsdisplays.
2001-10-13 13:32:20 +00:00
mrg
8b4596288b
when comparing bp->val[] against other types, cast the bp->val[] value to
...
other type. this avoids sign extension lossage as "val" is (signed) int.
PR#14212.
2001-10-13 08:25:57 +00:00
ichiro
c0e7956031
regen.
2001-10-13 07:44:21 +00:00
ichiro
8afd8ee7a9
add vendor & product ID
...
Intersil PRISM2.5 Mini-PCI WLAN
2001-10-13 07:43:42 +00:00
chs
f013b5beb1
fix pmap_changebit() to look for the bit in the page attrs
...
in addition to any PTEs. fixes PR 14197.
2001-10-13 06:18:36 +00:00
uwe
a291eed4cc
Fix SIGNEX macro: sizeof is in bytes, not bits.
2001-10-13 00:41:49 +00:00
nathanw
7f59122d03
Use @true instead of @${TRUE} in includes-foo targets, since there is no
...
variable TRUE defined in our makefile system.
This prevents "make includes" from breaking with older bsd.subdir.mk, and is
more consistent with the uses of "true" in the rest of the tree.
2001-10-12 21:05:08 +00:00
haya
727e8d4a04
Bugfix: re-order double buffer only when second buffer exists.
2001-10-12 09:27:23 +00:00
enami
de085459c1
Fix printf format.
2001-10-12 07:30:23 +00:00
christos
bfe76ac87a
Allow userland to pass MNT_IGNORE (from enami)
2001-10-11 16:27:24 +00:00
pooka
3518dc8ed0
* fix thinko in mace_print() to prevent intr with value MACECF_INTR_DEFAULT
...
from getting printed
* fetch device name from dv_xname instead of using hardcoded value
2001-10-11 15:17:42 +00:00
tsutsui
9ed721dc0a
hp300 now uses dev/clock_subr.c.
2001-10-11 15:04:44 +00:00
tsutsui
0c3fd1cf03
Cleanup TOD clock functions:
...
- Adapt MI functions/structures in sys/dev/clock_subr.[ch]
- Fix year-2001 problem
XXX Maybe TOD clock should be attached as an independent device.
2001-10-11 15:02:07 +00:00
tron
eea6d83f4b
Regen.
2001-10-11 14:31:58 +00:00
tron
fa5ea802e9
Add host bridge of the SiS 735 chipset.
2001-10-11 14:30:21 +00:00
tsutsui
2853ff9bb9
space -> TAB
2001-10-11 14:01:36 +00:00
augustss
9ba9477c1a
Regen.
2001-10-11 12:05:39 +00:00
augustss
9ec0bc09c1
Add Epson 1650.
2001-10-11 12:05:10 +00:00
leo
13a1055e2f
Second pass of the bootloader reworking. Everything works from the
...
TOS/MiNT side now.
2001-10-11 07:07:41 +00:00
briggs
155a79e9a1
Add include dev/wsfont/files.wsfont
2001-10-11 04:14:45 +00:00
briggs
0ac571b1e5
include dev/wsfont/files.wsfont
2001-10-11 03:52:13 +00:00
leo
d6d66d6664
Check-point my work on the bootcode.
2001-10-10 14:19:49 +00:00
pooka
e45292cb5e
panic in cpu_initclocks() if clock device is not attached
2001-10-10 13:24:47 +00:00
mrg
711d4aecaa
enable aout lkm on sparc & i386
2001-10-10 12:48:49 +00:00
mrg
41d514fe9a
framework to build an EXEC_AOUT module. tested on sparc64.
2001-10-10 12:10:10 +00:00
ad
08632b145a
Back out previous - it causes panics.
2001-10-10 09:33:36 +00:00
chs
eaa7f39f23
in ufs_balloc_range(), if we extend a fragment and need to write the
...
fragment synchronously, update the vnode's size before doing the flush.
otherwise we might only write part of the data and cause softdep's
accounting to get out of sync. fixes PR 14201.
many thanks to enami for figuring out what was going on.
2001-10-10 06:37:53 +00:00
mjacob
c0018ebdfe
The flow control registers are 16 bits wide, not 32.
2001-10-10 03:41:24 +00:00
augustss
a969ff5460
Add a reference counter to avoid blowing away the softc while frobbing
...
the MII registers.
2001-10-10 02:14:16 +00:00
tsutsui
59e6364fcd
Include <machine/bootinfo.h>
2001-10-09 16:03:11 +00:00
imp
407046e784
Resync after the sort
2001-10-09 03:18:37 +00:00
imp
e23b40707e
Sort in a sane way. This file had become somewhat disordered over
...
time. Vendors are sorted by number. Vendors are grouped
alphabetically, with entries within a vendor's group arranged
numerically. CIS entries sorted alphabetically by identifier.
2001-10-09 03:17:22 +00:00
is
9bf40ca410
Make the Cyberstorm PPC/ Cyberstorm Mk. 3 driver drive the LED.
...
Actually, this is added to the siop2_script; should we ever support another
siopng board that does connect something else to GPREG bit 4, we'll have
to move this to C code and make it optional.
OTOH, by then we'll have switched to the MI driver by then.
2001-10-08 21:18:58 +00:00
eeh
0bda325da0
Clear the dmamap inside splhigh() protection.
2001-10-08 19:24:20 +00:00
pooka
4eea26606e
read dbaud from ARCS and use that for com rate, not hardcoded 38400
2001-10-08 15:53:07 +00:00
uch
db344ecd7b
fix PERSONA keymap. patch by KIYOHARA Takashi
2001-10-08 15:35:06 +00:00
uch
3c8a8fb72e
HITACHI PERSONA support. patch by KIYOHARA Takashi
2001-10-08 15:34:24 +00:00
simonb
62274f02ea
Use ${KERNLDSCRIPT} instead of hard-coded ld script name.
2001-10-08 10:14:41 +00:00
simonb
6048ce9247
Use a separate variable (${KERNLDSCRIPT}) for the name of the kernel
...
ld script, so it can be used in other places.
2001-10-08 10:14:20 +00:00
mycroft
cbd7c4d140
When a pipe was grown to BIG_PIPE_SIZE, we could get in a select()/write() loop
...
because pipe_poll() and pipe_write() did not agree on when it was okay to write
more data. Fix pipe_write(), since it seems to be the broken one.
2001-10-08 07:50:17 +00:00
augustss
adfbf61e48
Regen.
2001-10-08 03:38:24 +00:00
augustss
3d25ac0f24
Add some more Ethernet adapters (info gleaned from Linux).
2001-10-08 03:37:53 +00:00
chs
640db3a7d0
revert a change that I accidentally included with ubcperf.
2001-10-08 00:22:13 +00:00
augustss
4e23e486b8
Regen.
2001-10-07 22:31:02 +00:00
augustss
cafdfc900c
Add Epson 640U. From Chris Baird <cjb@brushtail.apana.org.au>
2001-10-07 22:30:33 +00:00
eeh
bb99dc52c7
Manage both streaming caches on psycho/psycho+.
2001-10-07 20:30:40 +00:00
bjh21
34666c7150
Set POOL_SUBPAGE to 4096, in a bid to improve memory efficiency.
2001-10-07 12:45:03 +00:00
bjh21
d0844f93bb
Add support for allocating pool memory in units smaller than a whole page.
...
This is activated by defining POOL_SUBPAGE to the size of the new allocation
unit, and makes pools much more efficient on machines with obscenely large
pages. It might even make four-megabyte arm26 systems usable.
2001-10-07 12:44:06 +00:00
bjh21
e2d7d02aa0
Ensure that arch/acorn32/compile gets created.
2001-10-07 12:20:55 +00:00
itohy
7903b5cda4
fix typo (two -> to)
2001-10-07 10:14:42 +00:00
tsutsui
34cc09d49b
Move some sources from SRC_kern to SRC_sa.
...
They are in both libsa and libkern, but .PATH searches libsa first.
2001-10-07 05:00:28 +00:00
tsutsui
9bd648eb07
Build sa programs with -Os.
2001-10-07 04:50:40 +00:00
tsutsui
1bc09f71dc
Pass CPPFLAGS properly so that source files can include <machine/asm.h> .
2001-10-07 01:39:51 +00:00
bjh21
8cdda239fa
Basic acorn32 makefile -- the arm32 one with the obvioud transformations
...
applied. This is necessary to get kernel headers installed properly.
2001-10-06 22:04:11 +00:00
bjh21
2989551639
vidc.h => vidc_machdep.h, since the latter exists and the former doesn't.
2001-10-06 22:03:02 +00:00
mjacob
6349e2e63a
Fix various 2300 GB issues related to chip errata and documentation
...
misunderstandings. We also now can report our connection rate.
2001-10-06 20:34:49 +00:00
mjacob
daf0329c3c
Respect QLogic's errata- read BIU_ISR even on the 2300
...
to see if there's an interrupt (avoids PCI parity errors
which can occur on the 2312 if you access some registers
from the host at the same time the RISC on the 2312 is
accessing them).
2001-10-06 20:33:24 +00:00
bjh21
6b3d54743f
Install <machine/pte.h>.
2001-10-06 20:30:02 +00:00
thorpej
5b01f60e5b
The bridge driver does all forwarding at interrupt level, and
...
does not use software interrupts; remove these bridge netisr
hooks left over from a previous incarnation of the bridge code.
Noted by Andrew Brown <atatat@atatdot.net>.
2001-10-06 15:46:33 +00:00
pooka
ac8c8ee3fd
regen; iPAQ
2001-10-06 15:03:34 +00:00
pooka
c70a35c897
iPAQ PocketPC
2001-10-06 15:02:22 +00:00
mrg
65827cfc3c
sync with sparc: add cdtty
2001-10-06 14:50:22 +00:00
manu
aa5da496fa
Added socket operations to Linux Mips emulation
2001-10-06 13:32:58 +00:00
manu
2d38e85044
Implements ATOMIC_SET in linux_sys_sysmips
2001-10-06 13:32:18 +00:00
thorpej
a769f31893
soft_splvm() - "block" SPLBIO, SPLNET, and SPLTTY in addition to SPLIMP
...
and the soft interrupts. Probably doesn't matter for an all OFW kernel,
since all devices are polling, but done for correctness.
soft_splsoftnet() - make sure to block softclock, as well. While
you're in the network code at splsoftnet(), you don't want a soft
clock interrupt tripping some network-related timeout and reentering
the network code.
2001-10-06 03:51:48 +00:00
thorpej
16d926c4b8
Use ISACF_IRQ_DEFAULT rather than IRQUNK.
2001-10-06 03:04:01 +00:00
thorpej
6a434bacd5
Don't forget to fill in the DMA tag when attaching the AGP
...
controller.
2001-10-06 02:51:42 +00:00
thorpej
01b2f9b5c4
Remove and unnecessary cast, and avoid a memory leak in the event
...
allocation of the GATT fails.
2001-10-06 02:48:50 +00:00
thorpej
e797da0ffb
Make this match int_mwgwtypes.h (not that that header is really
...
correct, but they should at least be in-sync -- a PR has been
filed against int_mwgwtypes.h).
2001-10-06 01:21:40 +00:00
oster
525f4a9bed
Backout a line that accidentally got included when the .h reorg went in.
2001-10-06 00:47:46 +00:00
reinoud
516521c84f
re-add asm.h to get arch/dnard to compile again; it links to the
...
arch/arm/arm32's asm.h.
2001-10-06 00:27:59 +00:00
thorpej
c2a1bef2f3
Create the Tx DMA maps with a size large enough for a jumbo Ethernet
...
frame.
2001-10-06 00:14:59 +00:00
reinoud
7d4a1addde
Initial commit of the splitting off of arch/acorn32 from arch/arm32.
...
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These
files still need a lot of cleaning up :( .... esp. the RC7500 support that
is still dormant in it; this needs either to be removed or split out for
RC7500's ``VIDC'' video/audio variant.
Apart from the RC7500 support wich is still in arch/arm32 the
iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.
This split still uses some small parts of arch/arm32 .... those are the MI
parts that haven't been moved yet.
RiscPC/A7000 have been tested and confirmed to build as should NC.
2001-10-05 22:27:40 +00:00
eeh
7fbd726cc8
Stop wscons from conflicting with rcons.
2001-10-05 22:08:28 +00:00
eeh
0e60a3377b
Remove bsd_openprom.h, which is only for compatibility with the sparc port.
2001-10-05 21:53:56 +00:00
eeh
2375794907
Make OF_interpret() handle input and output arguments.
2001-10-05 21:52:43 +00:00
eeh
c824ea9b57
Remove the property sysctl interface for now.
2001-10-05 19:05:05 +00:00
thorpej
34dbd19c49
Delete this file; nothing includes it, and it is simply an (incomplete)
...
copy of <dev/pci/ppbreg.h> anyway.
2001-10-05 17:53:36 +00:00
thorpej
0d4d2293bb
Minor tidying up of the HME driver attach:
...
- Print nicer-looking message.
- Use bus_space_subregion() when appropriate, rather than arithmetic
on a bus_space_handle_t.
2001-10-05 17:49:43 +00:00
oster
035a63f6d3
More #if 0's bite the dust.
2001-10-05 15:41:23 +00:00
simonb
4471b94432
This Makefile.inc is used for building LKMS - add the standard MIPS
...
kernel compile flags as well as "-mlong-calls" so that calls from the
LKM in KSEG2 work to the kernel in KSEG0.
MIPS LKMs now build and can be loaded with the right Magick command line
args to modload(8). Changes to modload coming...
Thanks to Chris Demetriou for pointing out the -mlong-calls gcc option
that had been staring me in the face all along.
2001-10-05 15:36:46 +00:00
oster
9d1d665dac
Nuke some #if 0 stuff.
2001-10-05 15:33:12 +00:00
pooka
aa236892fb
include <machine/bsd_openprom.h> to make this compile with RASTERCONSOLE
2001-10-05 15:28:28 +00:00
pooka
40ca91c19c
prototype rominterpret()
2001-10-05 15:27:56 +00:00
simonb
c63662a13e
Multiple include protection.
2001-10-05 15:25:02 +00:00
simonb
1f8636506e
Use ".-include" instead of the ".if exists(...) ..." dance.
2001-10-05 15:14:18 +00:00
pooka
527cf2d2b1
use kern.ldscript instead of kern.ldscript.be per new scheme
2001-10-05 14:57:18 +00:00
pooka
8d2fa0f7b6
add cast to u_long before cast to caddr_t make these compile on sparc64
2001-10-05 14:25:15 +00:00
mrg
e5f5465184
avoid a memory leak
2001-10-05 13:32:23 +00:00
mrg
a5bca05a81
add sio16 support.
2001-10-05 13:32:00 +00:00
pooka
11d8d4dae9
add casts to debug printfs to make this compile on archs where
...
size_t is of type int
2001-10-05 12:55:24 +00:00
bjh21
25d06cf184
Install net/ieee1394.h the same way we install all the other
...
link-layer-specific headers.
2001-10-05 12:37:39 +00:00
thorpej
1edcfbbee2
Fix a typo so that /sbin/sysctl compiles again.
2001-10-05 05:46:50 +00:00
simonb
bc2ec5e553
Use a single ldscript instead of separate scripts for either endianness;
...
use command line parameters to ld(1) instead to set the endian format.
Clean up some endian decisions in mips/conf/Makefile.mips.
Wrap some long lines.
2001-10-05 05:03:27 +00:00
thorpej
02d031e24d
Fix a typo in a comment.
2001-10-05 02:08:09 +00:00
jmc
fd9e0c2d9c
It's sys/properties.h. Fix typo
2001-10-05 01:24:05 +00:00