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
thorpej
a5aff000fc
Match the UMAX Astra 3400.
2001-10-05 00:31:06 +00:00
thorpej
7853ec7367
Regen; add UMAX Astra 3400 scanner.
2001-10-05 00:24:52 +00:00
thorpej
919f3bb120
Add UMAX Astra 3400 scanner.
2001-10-05 00:24:25 +00:00
hubertf
c072a38d4c
Add missing comma
2001-10-04 23:36:10 +00:00
eeh
b2803e7da0
Install sys/property.h
2001-10-04 19:06:29 +00:00
eeh
37b272cd02
Add kern/subr_prop.c.
2001-10-04 19:05:32 +00:00
eeh
b8f825b33b
Add sysctl for generic properties.
2001-10-04 19:03:59 +00:00
eeh
ade7065ac5
Add M_PROP.
2001-10-04 19:00:44 +00:00
eeh
e1bd5ac110
Add generic properties.
2001-10-04 18:56:06 +00:00
oster
d00ed4116f
Tidy up the #includes a bit. (coulda/shoulda done that with last commit.)
2001-10-04 17:42:29 +00:00
oster
2621bd1124
rf_options.h isn't needed here.
2001-10-04 17:41:17 +00:00
oster
aa7a54f593
If rf_options.h needs to be include it, then include it. Don't rely on
...
another .h file to pull it in.
2001-10-04 17:39:18 +00:00
oster
dad0d4578c
Nuke a couple of unused extern variable declarations.
2001-10-04 17:31:01 +00:00
oster
32c731329a
These have been completely replaced by raidframevar.h and raidframeio.h.
2001-10-04 16:08:51 +00:00
oster
e4e898c2e0
Need to recurse into the raidframe subdir too.
2001-10-04 16:04:53 +00:00
oster
fe686dfde7
Setup installation mechanism for <dev/raidframe/raidframevar.h> and
...
<dev/raidframe/raidframeio.h>
2001-10-04 16:04:16 +00:00
oster
765e00d3de
Step 2 of the disentanglement. We now look to <dev/raidframe/*> for
...
the stuff that used to live in rf_types.h, rf_raidframe.h, rf_layout.h,
rf_netbsd.h, rf_raid.h, rf_decluster,h, and a few other places.
Believe it or not, when this is all done, things will be cleaner.
No functional changes to RAIDframe.
2001-10-04 15:58:51 +00:00
mrg
c68c2f3692
add new cd18xx, sio16, remove simba for sparc64
2001-10-04 15:56:35 +00:00
augustss
51f55f21bd
Alphabetize PHYs.
2001-10-04 15:51:32 +00:00
oster
46a6eb1477
Step 1 of the disentangling of RAIDframe's .h files:
...
raidframevar.h - contains bits of rf_types.h, rf_layout.h,
rf_netbsd.h, rf_raid.h, and rf_decluster.h.
raidframeio.h - contains the bits needed for doing IOCTL's w/
RAIDframe.
These bits will be visible to userland.
2001-10-04 15:43:57 +00:00
wiz
0eee1a5c64
Give spurious' all the
u's it needs.
2001-10-04 14:17:28 +00:00
augustss
96528f60d6
Add esl.
2001-10-04 10:43:10 +00:00
is
192ef03e2e
Add repulse.
2001-10-04 10:24:59 +00:00
chs
dec9f39d8d
reduce ramdisk size back to what it was before.
...
everything fits since tsutsui fixed libhack.
2001-10-04 08:17:41 +00:00
chs
90a3a778a7
when attempting to reclaim a vnode, tell the lockmgr() that it's ok
...
to just fail if we already hold the lock. we'll skip that vnode
and try another. fixes PR 14090.
2001-10-04 05:46:45 +00:00
jmc
60263432a6
Add the fact that SRCS depends on machine. This way the link is always created
...
Otherwise trying to do make installboot.o will fail
2001-10-04 04:15:17 +00:00
augustss
3d2be4cf9b
Fix pasto in type of dev_ioctl method.
2001-10-03 20:48:41 +00:00
bouyer
04dda897ce
In cpu_rootconf() use booted_device instead of rebuilding it from bp->dev,
...
so that a RAID device confgiured with -A root will really be used as root
device.
Discussed on port-sparc s few days ago.
2001-10-03 20:03:29 +00:00
nathanw
586e98e699
Use a value for APMDEBUG_ANOM distinct from APMDEBUG_ATTACH, so that
...
the debug flag has the originally intended granularity.
From seebs@plethora.net via port-i386/13674.
2001-10-03 18:22:13 +00:00
enami
6e46b6ec2c
s/genfs_do_putpages/genfs_gop_write/ in uvmhist.
2001-10-03 14:13:08 +00:00
christos
7e19baba28
protect against traditional macro expansion.
2001-10-03 13:32:23 +00:00
simonb
cfd067b21b
One copy of <sys/conf.h> will be enough.
2001-10-03 13:14:02 +00:00
simonb
f13f663c13
Regen: Minor correction to the name of the 405GP PCI bridge.
2001-10-03 12:07:08 +00:00
simonb
f3706d5650
Minor correction to the name of the 405GP PCI bridge.
2001-10-03 12:05:49 +00:00
chs
4dcf281923
use pmap_k{enter_pa,remove}() where appropriate.
2001-10-03 09:40:12 +00:00
chs
f657918fda
deal with bus_addr_t now being a 64-bit quantity. fixes PR 14107.
2001-10-03 09:37:23 +00:00
yamt
9946aef1da
ack intr only when intr is for us.
2001-10-03 06:58:47 +00:00
chs
3aea6d69ad
skip the MADV_SEQUENTIAL processing if we refault. fixes PR 14060.
2001-10-03 05:17:58 +00:00
chs
8b8f98cdbe
don't do any flush-behind for async mounts.
...
this matches the traditional behaviour.
2001-10-03 05:02:46 +00:00
mrg
0cfedcb2eb
frontend driver for the 16 port serial card by aurora technologies. this
...
doesn't quite work yet -- interrupt acknowledgement is hosed (and thus the
device keeps interrupting). uses the newly commited cd18xx backend.
2001-10-03 04:28:41 +00:00
mrg
5d4f3fa900
add a backend serial driver for the cirrus logic CL-CD180/1864/1865
...
8 port chip. this is used in several sbus (sparc) serial boards, as
well as an 8 port isa card from riscom. sio16 (sbus) frontend coming
shortly.
this is heavily based on the com and zs drivers.
2001-10-03 04:25:29 +00:00
augustss
1339e88a86
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
...
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
augustss
9cf205c410
ANSIfy.
2001-10-02 23:31:54 +00:00
augustss
f51c550f74
ANSIfy.
2001-10-02 22:41:22 +00:00
mycroft
9463168fe5
Use WSKBD_TYPE_ADB.
2001-10-02 21:05:39 +00:00
mycroft
5f1dd50365
Add a WSKBD_TYPE_ADB for Macs.
2001-10-02 21:03:05 +00:00
eeh
cd58dffb9d
Handle the situation where console input and console output go to different
...
devices. (N.B. The com driver does not handle different instances as input
and output devices, so this only works for two different drivers.)
2001-10-02 20:19:33 +00:00
pooka
787bb8ce97
fix system freeze in situation where you pop a pcmcia card out of the
...
slot while it is in operation
ok'd by thorpej
2001-10-02 19:17:07 +00:00
pooka
1e72a22c49
move DIAGNOSTIC-printf up one block to make it reachable
...
noted by Christophe Kalt in private email
2001-10-02 17:59:38 +00:00
chs
fee0c8e5ed
support building fpsp with MAKEOBJDIRPREFIX.
2001-10-02 06:34:52 +00:00
chs
7491bc8eea
add ashldi3.c, needed by ufs.c due to added cast in lblktosize().
2001-10-02 06:30:03 +00:00
eeh
408b9fac30
Fix rtc_write_reg().
2001-10-02 04:06:26 +00:00
eeh
a0265b2599
Remove some debug messages.
2001-10-01 23:55:00 +00:00
eeh
ef420318e0
Increase receive ring to 128 entries and handle both endian devices.
2001-10-01 23:39:57 +00:00
fvdl
9706e581b2
Don't map the aperture into KVA, it isn't needed.
2001-10-01 21:54:48 +00:00
minoura
0c64b75cd1
Install as xxboot_*, and create links as fdboot_* and sdboot_*.
2001-10-01 17:03:38 +00:00
minoura
a78691e911
Add a prompt message.
2001-10-01 16:59:34 +00:00
minoura
3600319102
CPU is not (yet) checkd.
...
Use 68000 instructions only.
2001-10-01 16:58:01 +00:00
fvdl
408e1d1b10
Fix bogus vdir offset calculation.
2001-10-01 14:41:09 +00:00
simonb
30d7e93296
Move pmax-only if_le_ibus.c from dev/tc to arch/pmax/ibus.
2001-10-01 11:42:17 +00:00
simonb
8b1f359f13
Add "asc* at tc?" for PMAZ-A TurboChannel cards.
2001-10-01 10:23:37 +00:00
simonb
342856c15c
Move asc_tc and asc_tcds config info to dev/tc/files.tc now that pmax
...
uses MI SCSI.
2001-10-01 10:22:42 +00:00
simonb
240c203d16
s/asc_pmaz/asc_tc/g
2001-10-01 10:19:09 +00:00
simonb
f976a7141c
Move MI PMAZ-A SCSI attachment to sys/dev/tc.
2001-10-01 10:17:25 +00:00
yamt
0e8ee83d8f
avoid losing a desc on error.
2001-10-01 09:26:29 +00:00
fredette
d17c1f50bd
Changed an obio to read Multibus.
2001-10-01 01:53:31 +00:00
fredette
65df8b69be
Added the prom_kbdid function, to help us figure out if
...
the console keyboard is on the parallel interface or zs1.
2001-10-01 01:46:56 +00:00
thorpej
4e77e1ee5f
Regen; added product ID for RealTek 8139[BC].
2001-10-01 00:28:02 +00:00
thorpej
2b02410c00
Add product ID for the RealTek 8139[BC].
2001-10-01 00:27:33 +00:00
jmc
806aee01eb
Don't force CFLAGS to -g for all builds.
2001-09-30 23:02:25 +00:00
manu
801da94626
Implements parts of sysmips() and fctnl64() emulation
2001-09-30 20:52:40 +00:00
manu
a9c8120ff3
Fixes my last commit: only mips really need fcntl64 to work now. i386 and
...
powerpc could use it later if needed. m68k and alpha should never need it.
2001-09-30 20:44:49 +00:00
martin
62aaf2691e
Make i386 kernels compile again.
...
fcntl64 was still marked UNIMPL, but the implementation existed, causing
a missing prototype warning.
XXX I have no clue if this is the correct fix - someone able to test this
please review it!
2001-09-30 18:57:43 +00:00
chs
781fe69288
add glue required by new genfs_getpages().
2001-09-30 18:47:48 +00:00
ragge
9332449994
Check if page to be remapped in pmap_enter() is entered by pmap_kenter_pa(),
...
to decide whether to remove the previous mapping from pv_table or not.
Should fix PR#12231.
2001-09-30 17:12:08 +00:00
manu
238328fb7a
Added initial support for fcntl64 system call (file locking is not
...
implemented)
2001-09-30 16:04:03 +00:00
minoura
5e62bcc792
Print daemon image on startup.
...
(any other missing features?)
2001-09-30 15:54:38 +00:00
chs
30e122c6f1
in vndstrategy(), handle the underlying file being force-unmounted.
2001-09-30 12:32:09 +00:00
martin
2c433e9757
Fix a very stupid pasto - the card has two B channels, so better not
...
query the HSCX chip version of the third one.
2001-09-30 11:50:05 +00:00
sato
e848d501fd
swap value of VR4181_SIU_ADDR and VR4181_SIU1_ADDR.
...
fix typo.
2001-09-30 11:33:00 +00:00
sato
b9049cf914
add VR4181, VR4131 support.
2001-09-30 11:24:07 +00:00
yamt
cf2debbc86
force 0x1000 align for memory base before
...
calling rbus_space_alloc().
resource management may be inconsistent without it.
2001-09-30 06:32:02 +00:00
simonb
d3fb79099a
Put comments around token after #endif.
2001-09-30 05:31:20 +00:00
chs
0c3dfee2f8
skip the swap-out code if there's no swap space configured.
...
avoid some hangs in low-memory situations.
2001-09-30 02:57:34 +00:00
chs
d4406ff8c9
in ffs_balloc(), clean up page cache state to avoid hangs when we
...
get ENOSPC. as a result of this, we now skip some of the normal cleanup
in ufs_balloc_range() in the error case.
2001-09-30 02:54:42 +00:00
chs
9f02fbe7a7
process one block at a time even when we're using the write fast path
...
that avoids zeroing pages. this avoids a mess when we get ENOSPC and
softdeps are enabled.
2001-09-30 02:50:35 +00:00
simonb
8aec0ac7d5
DEBUG kernels fill the registers with garbage on process startup and
...
Linux program don't like that. Explicitly zero out the registers for
DEBUG kernels.
2001-09-30 02:36:42 +00:00
simonb
0b8f86120f
Define LINUX_ATEXIT_SIGNATURE to enable the atexit_signature test; needed
...
to run Linux/Alpha binaries.
2001-09-30 02:35:23 +00:00
mycroft
2668b4d43f
Unlike most other platforms, PowerPC uses a 1:1 mapping for d_mmap and
...
pmap_phys_address()...
2001-09-30 01:23:47 +00:00
hubertf
c3a231baa7
add (enabled!) esl for pcmcia audio
2001-09-30 00:57:42 +00:00
hubertf
61ce73735e
esl is off by default, so switch off audio@esl and opl@esl too.
2001-09-30 00:56:51 +00:00
mycroft
49c87d1447
/dev/mem was severely broken. If you tried to access outside managed memory,
...
it would go into an infinite loop. Instead, allow such I/O.
Also, implement mmap(2) for /dev/mem.
2001-09-29 23:36:54 +00:00
tshiozak
d645f8862c
fix for Roland/EDIROL UM-880.
...
- add NULL check to UMQ_ISTYPE; sc_quirk is NULL for genuine umidi, but
forgotten to check. Thus, kernel will panic after connect the device.
- fix how to count the number of endpoints in alloc_all_endpoints_genuine().
- add a quirk for the native mode of UM-880.
2001-09-29 22:00:47 +00:00
chs
15982c7311
fix typo in pmap_kremove() which was invalidating the wrong TLB entry.
...
from Hiroki Tanikawa in PR 14099.
2001-09-29 22:00:29 +00:00
chs
adb1a233b7
replace wakeup_one() with wakeup(). wakeup_one() can only be used if the
...
woken-up thread is guaranteed to pass the buck to the next guy before
going back to sleep, and the rest of the lockmgr() code doesn't do that.
from Bill Sommerfeld. fixes PR 14097.
2001-09-29 21:27:49 +00:00
augustss
d535feb911
Get rid of eslreh.h and use ../isa/essreg.h.
...
Minor whitespace fixes.
2001-09-29 19:30:29 +00:00
augustss
d09eea2ace
Add a missing command.
2001-09-29 19:08:49 +00:00
augustss
b1d96a9b44
ANSIfy.
2001-09-29 19:06:32 +00:00
augustss
f75a223c4e
Add the esl driver.
2001-09-29 18:46:16 +00:00
thorpej
fa591d48c0
- Add an acpi_evaluate_string() to evaluate string objects.
...
- In acpi_print(), try to evaluate the _STR object, and print
it if the device is not configured.
- Make this compile without ACPI_DEBUG, from Masanori Kanaoka.
2001-09-29 18:13:48 +00:00
tsutsui
9cb10f82f8
Calculate offsets of sglist dinamically rather than use an static array
...
because PAGE_SIZE is not constant on some ports.
2001-09-29 14:23:37 +00:00
jdolecek
560e3c342e
Use lmin() instead of min(), and long for mlen & clen, to avoid integer
...
overflow on LP64 architectures. This fixes kern/10070 by Juergen Weiss.
Fix tested on NetBSD/alpha by Bernd Ernesti, on NetBSD/sparc64
by David Brownlee and Eduardo Horvath.
2001-09-29 14:16:19 +00:00
augustss
c018750423
Add esl driver for Eiger Labs sound card. From Jared D. McNeill
...
<jmcneill@invisible.yi.org>.
2001-09-29 14:00:57 +00:00
augustss
58a0f075d2
Regen.
2001-09-29 13:59:37 +00:00
augustss
da8947c921
Add Eiger Labs sound card.
2001-09-29 13:59:16 +00:00
augustss
797a70e551
Add a detach function (from Jared D. McNeill).
2001-09-29 13:56:04 +00:00
jdolecek
18c0643bfb
Update the uio resid counts appropriately when any error occurs
...
(not just EPIPE), so that the higher-level code would note partial
write has happened and DTRT if the write was interrupted due to
e.g. delivery of signal.
This fixes kern/14087 by Frank van der Linden.
Much thanks to Frank for extensive help with debugging this, and review
of the fix.
Note: EPIPE/SIGPIPE delivery behaviour was retained - they're delivered
even if the write was partially successful.
2001-09-29 13:48:11 +00:00
chris
5f0c745782
Add a couple of simplelocks to make sure we call pagealloc with the uvm_object locked. Found while running a LOCKDEBUG kernel on cats.
2001-09-29 09:39:12 +00:00
thorpej
84b2da1b5c
Don't install a single system notify handler.
2001-09-29 05:39:14 +00:00
thorpej
4ce1f116cf
Don't be DEBUG by default, but still be noisy about lid status
...
changes until such time as we actually do something with them.
2001-09-29 05:36:49 +00:00
thorpej
533c169276
Build acpi_resource.c, add "acpiec" and "acpiacad".
2001-09-29 05:36:03 +00:00
thorpej
2945805ff3
Skeleton ACPI AC Adapter driver.
2001-09-29 05:35:06 +00:00
thorpej
b41a7fd4de
ACPI Embedded Controller driver.
2001-09-29 05:34:23 +00:00
thorpej
6179b9baef
Add code to parse ACPI bus resources.
2001-09-29 05:34:00 +00:00
thorpej
391ff9e86d
Flesh out w/ some comments from the spec, and add some _ADR decoding
...
macros.
2001-09-29 05:33:00 +00:00
minoura
6dccdcc4cb
Implement ls command.
...
Correct bootdev detection.
Other minor changes.
2001-09-29 03:50:12 +00:00
minoura
9f3eb31089
Make this compile with the new toolchain.
2001-09-29 03:45:13 +00:00
minoura
a927531829
Exclude N/W code.
2001-09-29 03:44:04 +00:00
yamt
274a22b8c0
remove a debug printf committed mistakenly.
2001-09-29 02:16:21 +00:00
yamt
da8b08386f
- fix wrong ca_devsize.
...
- change #if 0 to meaningful name.
- enable memio.
2001-09-29 01:53:23 +00:00
yamt
4210698cd5
fix wrong ca_devsize.
2001-09-29 01:52:23 +00:00
minoura
a70835b9a0
Minor KNF.
2001-09-29 01:42:26 +00:00
minoura
63906d4679
-D_STANDALONE
2001-09-29 01:42:09 +00:00
minoura
0669861353
Minor changes from news68k.
2001-09-29 01:24:30 +00:00
minoura
45300859de
Forgot to include <machine/bootinfo.h> for the new symbol added in the
...
previous commit.
2001-09-29 01:24:01 +00:00
augustss
37583aadfc
Reenable RHSC interrupt after one second so hot plugging works.
...
(From OpenBSD.)
2001-09-28 23:57:21 +00:00
augustss
c5a4cc1291
Only clear the endpoint on stall (from FreeBSD).
2001-09-28 23:42:16 +00:00
augustss
901a3da087
Regen.
2001-09-28 23:41:33 +00:00
augustss
ef7e225e59
Rename Accton adapter (from FreeBSD).
2001-09-28 23:41:09 +00:00
thorpej
5c2e2edf22
Regen; more corrections to Intel Gig-e product IDs.
2001-09-28 22:06:25 +00:00
thorpej
435e4031ad
More corrections to Intel Gig-e product IDs.
2001-09-28 22:06:04 +00:00
tshiozak
f32aef24fd
Roland UM-880 has two modes each assigned product IDs.
...
UM880N (0x0014) : Native mode.
UM880G (0x0015) : Generic USB MIDI mode.
2001-09-28 20:36:46 +00:00
tshiozak
114e12bdf1
add a new device; ROLAND/EDIROL UM-880 MIDI I/F with patcher.
2001-09-28 19:10:59 +00:00
jdolecek
8c94944fe7
sbspace(): use lmin() instead of imin() and kill now unneeded casts
...
Pointed out by Scott Barron in kern/13687.
2001-09-28 18:02:45 +00:00
mjacob
01e394b10d
Now that we have a fixed thaw thingie- we can turn back on sleeping
...
on mailbox commands.
2001-09-28 16:23:19 +00:00
minoura
d83cae1ca8
Primary boot for ustarfs.
...
Supports floppy only.
2001-09-28 15:22:21 +00:00
minoura
446e0c768b
Add ustarfs support.
2001-09-28 15:20:00 +00:00
minoura
b3bb79f90d
Add changedisk_hook().
2001-09-28 15:19:33 +00:00
minoura
12ea5d8238
Add changedisk_hook().
...
Machine-dependent code can eject the floppy to prompt the next volume in it.
(Or add another method in devsw?)
2001-09-28 15:15:24 +00:00
minoura
dfde39ec68
Update authors' mail addresses.
2001-09-28 15:12:01 +00:00
minoura
e6e223cd3e
Message cosmetics.
2001-09-28 15:11:19 +00:00
minoura
b57b9ddfa4
Create stripped version by default.
2001-09-28 15:10:39 +00:00
pk
fd12ba4f30
Don't force a fixed baud rate if the parent zs driver has already determined
...
the baud rate set by the PROM.
2001-09-28 14:34:49 +00:00
chs
984d30ac45
don't depend on other headers to include sys/proc.h for us.
2001-09-28 12:36:48 +00:00
chs
7bec4cf98b
don't include argument names in prototypes.
2001-09-28 12:14:27 +00:00
chs
80373b7e54
don't depend on other headers to include sys/proc.h for us.
2001-09-28 11:59:51 +00:00
chs
299934b2ed
handle allocation errors in truncate-up case.
2001-09-28 11:43:23 +00:00
sato
181ca7dcd0
add VR4181 clock control.
2001-09-28 10:25:15 +00:00
sato
91e1127840
VRGROUP_4122 -> VRGROUP_4122_4131
2001-09-28 10:18:33 +00:00
chris
fa742cde19
Tweak spl functions a little, try to do something between an ldr and it's use. Not the greatest of gains but spl is called a lot it might add up.
...
Also add comments stating alignment of stack.
2001-09-28 10:01:02 +00:00
chris
38f962d504
Note the alignment state of the stack. This is part of the work to get the stack 8byte aligned for ELF
2001-09-28 09:56:03 +00:00
chris
79f5d977e0
Add extra arg to fpa_test as it should have 4 args. Also add prototypes for fpa_test and fpa_handler.
2001-09-28 09:53:41 +00:00
thorpej
70f1ab462a
Glue in ACPI -- not really for prime-time, but useful for developers.
2001-09-28 03:56:21 +00:00
thorpej
1a9d24bce1
Add stub drivers for ACPI buttons and lid switches. These don't
...
really do anything yet.
2001-09-28 02:30:13 +00:00
thorpej
69f30a1104
Add some basic ACPI probing framework. This is far from complete,
...
it is merely a work in progress.
2001-09-28 02:09:22 +00:00
thorpej
7d89fca881
Add ACPI config glue.
2001-09-28 02:06:55 +00:00
thorpej
fb46595216
Define an "acpibus" attribute, to which "acpi" can attach.
2001-09-28 02:06:17 +00:00
thorpej
bad233b1df
config(8) files declaration for ACPICA.
2001-09-28 02:05:47 +00:00
thorpej
7fb46a1597
Minor changes to get ACPICA to compile with our kernel warning levels.
2001-09-28 01:59:43 +00:00
thorpej
5b5d892cd5
Add __attribute__((__unused__)) to _THIS_MODULE.
2001-09-28 01:52:52 +00:00
thorpej
3d5c31f282
Bah, fix typo that crept in (tank you vi(1)).
2001-09-28 01:50:04 +00:00
minoura
3fa9e67e35
Install as `boot_ufs'.
2001-09-28 01:49:54 +00:00
thorpej
abd2c67167
Machine-dependent ACPI CA Osd routines for i386.
2001-09-28 01:46:56 +00:00
thorpej
46f84eb8d0
Fix include file mishap.
2001-09-28 01:37:03 +00:00
thorpej
6e9086bf0b
Glue header file to pull in the ACPICA headers.
2001-09-28 01:25:55 +00:00
thorpej
9cc29ba9a4
Oops, RCS ID.
2001-09-28 01:24:44 +00:00
thorpej
b6279c024f
File describing the ACPICA and how we glue it to NetBSD.
2001-09-28 01:24:21 +00:00
thorpej
5f7bd77097
OS Services Layer to glue the Intel ACPICA to NetBSD.
2001-09-28 01:06:58 +00:00
thorpej
6a930624d7
Let <machine/cpufunc.h> provide wbinvd() on NetBSD.
2001-09-28 00:46:50 +00:00
thorpej
c3e86966fb
We've flattened out the directory heirarchy -- acenv.h is not found
...
in platform/ in our tree.
2001-09-28 00:43:40 +00:00
thorpej
415b593488
NetBSD "environment" header for ACPICA.
2001-09-28 00:40:54 +00:00
thorpej
3926b0395b
Import the 20010831 snapshot of the Intel ACPI Component Architecture
...
ACPI reference implementation.
2001-09-27 23:11:59 +00:00
fvdl
df8490a27a
Always initialize ni_rootdir in nfs_namei. From Andrei Petrov.
2001-09-27 21:44:56 +00:00
ad
404706846e
Make firmware updates work with dpti.
2001-09-27 18:43:37 +00:00
mjacob
87a8b82ae9
Restore previous functionality- in scsipi_periph_timed_thaw check to
...
make sure the completion thread is running before you try to schedule
it.
Fixes port-i386/14013
2001-09-27 18:11:06 +00:00
mjacob
79d74959da
Restore previous definitions.
2001-09-27 18:07:51 +00:00
thorpej
21056065db
Move the code that enumerates the pnpbios device nodes into a
...
separate function.
2001-09-27 17:13:39 +00:00
uch
69ed217599
ANSIfy, KNF.
2001-09-27 16:31:23 +00:00
tsutsui
3339a3e525
Remove iha_minphys() and use minphys() instead.
2001-09-27 15:26:57 +00:00
tsutsui
19e9d87b56
Include uvm/uvm_extern.h for PAGE_SIZE.
2001-09-27 15:12:30 +00:00
tsutsui
883a221861
Adjust IHA_MAX_SG_ENTRIES since fragments of DMA buffer are not
...
more than (MAXPHYS / PAGE_SIZE + 1).
2001-09-27 15:11:34 +00:00
leo
984d919c49
Add ELF stuff to loader. This is a combined effort from Thomas Gerner and
...
myself.
2001-09-27 14:29:22 +00:00
minoura
7d1fc276fa
Make these compile with the old (a.out) toolchain.
2001-09-27 14:08:27 +00:00
sato
9a679b0eb1
- add VR4181 ICU register map.
...
- add VR4181 intr levels.
- add VR4131 ICU register map.
- add VR4131 intr levels.
XXX: not yet tested these platform.
2001-09-27 13:59:37 +00:00
minoura
f5f7a94fa6
Add some missing definitions.
2001-09-27 13:27:54 +00:00
minoura
99247aadcc
Initial commit of the new bootloader to support ELF kernel.
...
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.
- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
2001-09-27 10:14:49 +00:00
minoura
7e950cc6e8
libsa for the new bootloader of x68k port.
2001-09-27 10:03:26 +00:00
minoura
8d3d810cc4
Embed the version number of the interface between the bootloader and
...
kernel. See amiga.
2001-09-27 09:55:10 +00:00
itojun
646869b6cd
regen
2001-09-27 07:10:37 +00:00
itojun
2a47bfbf34
add 4DWAVE and SiS sound devices.
2001-09-27 07:09:27 +00:00
mrg
a68e13f815
implement generic soft interrupts as described in softintr(9). convert
...
the network, clock & serial softint's to use them.
2001-09-27 02:05:42 +00:00
shin
541214b72d
clock_machdep.h was removed.
2001-09-27 01:08:22 +00:00
thorpej
a7eb08e847
"cms" is not needs-flag
2001-09-26 21:49:09 +00:00
thorpej
55d06660bb
"aria" does not needs-flag
2001-09-26 21:40:07 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
matthias
da7395fac9
wskbd_rawinput: check sc->sc_displaydv before calling wsdisplay_kbdinput.
2001-09-26 15:13:23 +00:00
eeh
64d9292e8c
*NEVER* cast a reference parameter to a different type.
2001-09-26 15:05:49 +00:00
fvdl
0596817942
Apparently the old gas doesn't like *(%reg), so revert this one for now,
...
until everyone's switched to the new toolchain.
2001-09-26 14:07:51 +00:00