pooka
e62b69f246
add vendor Psion and product Psion Gold Card
2001-08-21 16:13:03 +00:00
reinoud
d7964c6e78
Initial commit for Xserver support for the wscons interface; it isn't fully
...
functional yet since the keyboard changes are not committed yet but it
should compile and work independently.
Initial support for mouse and screen takeovers / screen hardware scroll
reset is done.
2001-08-21 14:48:54 +00:00
sato
3f9cc29da9
fix vr4181 register offset.
2001-08-21 10:31:26 +00:00
bjh21
1d4ae5d285
Use int_off_save and int_restore rather than int_off and int_on.
2001-08-20 23:28:05 +00:00
bjh21
a180b9a8f4
Add fiq.
2001-08-20 23:15:40 +00:00
bjh21
45b5bdc5e5
Split off the pm_entries array from the rest of struct pmap. This makes
...
memory allocation for it more efficient (since pm_entries is 4096 bytes long),
and will allow pm_entries to be freed for swapped processes.
2001-08-20 23:12:54 +00:00
bjh21
8ec27f2ebe
Implementation of fiq_{get,set}regs.
...
Also, don't leave space for a FIQ handler in kernels with no FIQing devices.
2001-08-20 23:10:51 +00:00
bjh21
13f36f67c6
Don't initialise a podule's loader multiple times.
2001-08-20 23:09:12 +00:00
bjh21
9aa4896361
More FIQ support. This gives me enough to handle FIQs, and to downgrade them
...
to IRQs as necessary. All these interfaces are subject to change in the light
of experience.
2001-08-20 23:08:10 +00:00
bjh21
1061e51a8a
One from the vaults: Add lint stubs.
2001-08-20 22:56:10 +00:00
chris
140252be2b
Arm has a vac, so we must use pmap_enter/remove for vmapbuf rather than k* versions, otherwise we may not be doing the right caching thing.
2001-08-20 21:52:09 +00:00
thorpej
04a394787e
Oops, the "auto" capability was getting masked off by mistake.
...
Fixes a panic reported by Chuck Silvers.
2001-08-20 20:22:53 +00:00
fvdl
b9f24a3dd1
Regen.
2001-08-20 19:29:59 +00:00
fvdl
69906a3032
Add some entries for the AMD 76x chipset for completeness.
2001-08-20 19:29:08 +00:00
matt
078a9a2206
Netwinders have ISC phys, not LXT phys.
2001-08-20 16:17:12 +00:00
ad
dacf7e8e3d
Don't special case the retry for Media Changed... More later.
2001-08-20 15:45:10 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
wiz
f33f8d5e61
Succeed has two 'c's.
2001-08-20 11:57:34 +00:00
wiz
0f95e3da3c
precede, not preceed, and a whitespace fix.
2001-08-20 11:57:02 +00:00
wiz
d375535396
Fix typo in comment (suceed).
2001-08-20 11:49:11 +00:00
ad
13499203a2
Two changes submitted by Sergey Svishchev <svs@ropnet.ru>:
...
- Don't send START UNIT upon open if the drive is playing audio (PR 11768).
- If we receive sense indicating that the media changed, retry (PR 8326).
2001-08-20 11:31:10 +00:00
ad
ab54b70cae
Cosmetic change.
2001-08-20 11:20:51 +00:00
nisimura
a6f7e30eec
Nuke fb_devconfig data structure which was found unnecessary to have.
...
224 byte saving in text+bss, and runtime.
2001-08-20 08:34:39 +00:00
ad
52449ef3bf
Medium Not Present has number of defined ASCQs. Pointed out by Sergey
...
Svishchev <svs@ropnet.ru> in PR 8326.
2001-08-20 07:47:01 +00:00
ad
d861b4992a
Add descriptions for Medium Not Present ASCQs.
2001-08-20 07:41:14 +00:00
gehenna
0999a72932
The latest EHCI spec is 0.96
2001-08-20 07:16:35 +00:00
mrg
b734a361cf
allow SHMMAX, SHMMIN, SHMMNI and SHMSEG to be specified in the kernel config file.
2001-08-20 04:51:17 +00:00
mrg
dc4e692845
add a commented "options NETATALK"
2001-08-20 04:49:17 +00:00
gehenna
fb5869c240
Regen
2001-08-20 03:48:29 +00:00
gehenna
f0dd0ada57
Add NEC USB2.0 Host Controller
2001-08-20 03:45:55 +00:00
itojun
ef0be725b3
if I'm bridging and got a packet to interface address on if A from if B,
...
advertise MAC address for if A with ARP reply.
2001-08-20 03:13:45 +00:00
itojun
e556ec903d
fix ALTQ support. less diff with kame. kjc@csl.sony.co.jp.
2001-08-20 02:18:58 +00:00
itojun
ffc3e18ad0
typo
2001-08-20 02:07:27 +00:00
chs
9e8e4c5bdc
I was wrong, sh4 does have a VAC.
...
change vmapbuf()/vmunmapbuf() back to using pmap_enter()/pmap_remove().
2001-08-19 20:44:41 +00:00
chs
c489e9bff4
add missing pmap_update().
2001-08-19 18:09:20 +00:00
chs
72b6b0b123
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 18:08:30 +00:00
chs
eddbcd2f47
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:45:57 +00:00
chs
dd3f84513a
typo in previous.
2001-08-19 17:45:15 +00:00
chs
316cd176c8
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:43:44 +00:00
chs
17d06a7ad7
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:37:35 +00:00
chs
b356420a02
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:36:28 +00:00
chs
2cdad949d0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:34:49 +00:00
chs
3f98593d27
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-19 17:34:01 +00:00
chs
ef097c73b0
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:33:10 +00:00
bjh21
8b7128e398
Changes in aid of FIQ support:
...
Add ioc_fiq_setmask().
Change ioc_irq_status_full() to use the request registers rather than the
status registers. This is brings it into line with the Unix baclplane, and
makes detecting downgraded FIQs possible.
2001-08-19 15:27:44 +00:00
yamt
75ed9ccf7f
fix scsipi_target_detach with wildcard target.
2001-08-19 14:05:13 +00:00
matt
4bc8190b62
Change local offset/label for irqhandlers to Lirqhandlers. Because in
...
ELF _C_LABEL(irqhandlers) == irqhandlers so we were getting self-referential
pointer which causes the IRQ to fall on itself. [With this change the
netwinder kernel can now be *ELF* and boots to multiuser]
2001-08-19 07:29:26 +00:00
matt
7cab3778d5
Make EXEC_ELF32 support std now,
2001-08-19 05:51:09 +00:00
wdk
12a212bc5c
Add support for WD33C93 controller and assosiated SCSI devices, and enable
...
by default.
2001-08-19 03:20:36 +00:00
wdk
0ac0d0d4e4
Initial implementation of WD33C9x SCSI driver for SGI IP22 platforms.
...
Based on mvme68k and Atari drivers for the same chipset with the
addition of bus_space support. Attempts have been made to seperate out the
machine dependent dma components and more work is required in this area.
Tested on SGI R4K Indy, but has little testing on other platforms.
2001-08-19 03:16:21 +00:00
thorpej
173f6058ab
Add Chip ID register values for various AMD PCnet parts.
2001-08-18 21:16:34 +00:00
wiz
e320555c3b
if_il.c lives in dev/qbus now, and is mentioned in dev/qbus/files.uba.
...
Remove commented out line for it.
2001-08-18 14:52:37 +00:00
enami
b605664b49
Include bsd.own.mk a bit earlier so that make cleandir works.
2001-08-18 12:53:58 +00:00
enami
cebeb402de
Fix white space usage.
2001-08-18 12:48:59 +00:00
wiz
a5226c0bb5
Remove files describing hp300/HPBSD.
...
Can still be found in sys/arch/hp300/DOC as Debug.tips and HPMMU.notes.
Okay'd by is.
2001-08-18 10:07:35 +00:00
chs
2233d77cac
when fetching an object page to loan out, do so synchronously.
2001-08-18 05:51:44 +00:00
kanaoka
13f671edcf
Improve intr_ack code to support for 3c556,3c556B.
...
Some cards don't have an interrupt acknowledge
register in PCI config space, so we map and write
it, such as CardBus driver does.
2001-08-18 05:49:28 +00:00
chs
c60e896954
undo the part of the last revision that made user block device access
...
use the UBC interfaces. too many problems with that yet.
2001-08-18 05:34:46 +00:00
thorpej
2d4c311492
Regen; added Avance Logic ALS4000.
2001-08-18 05:00:51 +00:00
thorpej
563f369b78
Add Avance Logic ALS4000 Audio.
2001-08-18 05:00:21 +00:00
eeh
94751b6adc
Make the kernel a tad bigger.
2001-08-18 04:55:29 +00:00
simonb
11362870f4
Reorder some function prototypes more logically.
2001-08-18 04:13:28 +00:00
eeh
20df032dec
Make lint happier.
2001-08-18 03:47:18 +00:00
simonb
02f580ae38
Fix lint problem introduced in last change - if `lint' is defined,
...
#define away __alignof__. Still produces some warnings, but at least
they're not fatal anymore.
Problem noted by Rafal Boni in private mail.
2001-08-18 03:27:02 +00:00
chs
92140aa25f
make this compile.
2001-08-18 00:41:38 +00:00
augustss
317073f06f
Install if_bridgevar.h.
2001-08-17 23:16:14 +00:00
matt
864924f7f3
regen.
2001-08-17 23:14:40 +00:00
matt
211070f3bd
Add Apple Uni-N (as used in QuickSilver) product IDs.
2001-08-17 23:14:00 +00:00
thorpej
9b50223a16
Only report expire time for DYNAMIC forwarding table entries.
2001-08-17 22:10:20 +00:00
thorpej
c82b0994e7
Permit weaker interface matches for incoming ARP packets if the packet was
...
received on an interface that is part of a bridge and we find an ifaddr on
an interface that is part of the same bridge.
2001-08-17 21:47:57 +00:00
thorpej
460da35f85
Add support for building Ethernet bridges, based on Jason Wright's
...
bridge driver from OpenBSD, although the bridge code has been *heavily*
modified by me (the 802.1D code remains mostly unchanged from the
original).
2001-08-17 21:37:27 +00:00
fredette
e5769f5f01
Sometimes the ec board reports a packet length that's too large.
...
Try to deal with this by clipping the packet length, and, under
DEBUG, printf when we do. Also zero out the packet status in
the buffer before we give it back to the board.
2001-08-17 20:27:12 +00:00
is
de14426106
Ansification by Petri Koistinen
2001-08-17 19:56:51 +00:00
ur
e6c008bb48
Disable PCI expansion ROM for normal operation.
...
It fixes memory mapped I/O problems on some devices.
(from port-arc ML)
2001-08-17 11:11:57 +00:00
simonb
0667c562f6
Describe the widths of various coprocessor 0 registers (for mips1,
...
mips3, mips32 and mips64).
2001-08-17 07:53:33 +00:00
simonb
dd6c57e790
Fix for single-byte mbufs.
2001-08-17 07:21:07 +00:00
simonb
b2b2f7ccfa
Fix va_arg() problem when adjusting argument pointer when a structure is
...
passed which is larger than an int but has int alignment. As well as
fixing the described problem, this is the same way it is handled in the
Irix and Ultrix header files.
Problem and suggested solution by Uros Prestor in port-mips mailling
list.
2001-08-17 07:15:16 +00:00
chs
dda1ba2993
implement pmap_k{enter_pa,remove}() correctly.
...
remove various checks for impossible conditions.
other misc cleanup.
tested by tohru.
2001-08-17 06:39:53 +00:00
chs
f0af9f581b
add getpages/putpages entries for spec vnodes.
2001-08-17 05:54:36 +00:00
chs
2c441082d4
allow mappings of VBLK vnodes.
2001-08-17 05:53:02 +00:00
chs
37f6c5155d
call VOP_MMAP() before allowing mappings of vnodes to allow
...
filesystems which do not support memory mapped access to cause
mmap() of their vnodes to fail.
2001-08-17 05:52:46 +00:00
chs
f051fe3125
add definitions for UBCification of block devices.
2001-08-17 05:52:07 +00:00
chs
103d879bd7
initialize the UVM vnode size for block devices.
...
UBCify user access to block devices.
2001-08-17 05:51:53 +00:00
chs
5a4fdb6ddb
make genfs get/put work for block devices as well:
...
- the "fs bshift" for block devices is always DEV_BSHIFT.
- retrieve the device vnode from VOP_BMAP() and use that to set b_dev
in page i/o buffers.
2001-08-17 05:51:29 +00:00
lukem
1b81d6353d
remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
...
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right. invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.
this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B" to swap a file system endianness).
whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.
FFS_EI should now be a lot more stable.
2001-08-17 02:18:46 +00:00
thorpej
fae2a1befd
Add `show malloc' to dump the internal state of the MALLOC_DEBUG code.
2001-08-17 01:00:10 +00:00
thorpej
bbd3d01db5
Artur Grabowski's simple brute-force malloc debugger, which uses
...
guard pages. Can only debug one malloc type at a time, and nothing
larger than 1 page. But can be useful for debugging certain types
of "data modified on freelist" type problems.
Modified from code in OpenBSD.
2001-08-17 00:48:29 +00:00
fredette
1094f3c8dc
When asked to set the transfer mode, just call back
...
immediately, because we don't support that.
2001-08-17 00:24:09 +00:00
fredette
8b21bb0078
Under DEBUG, have a global buserr_reg that stores the
...
last value read out of the bus error register.
2001-08-17 00:00:26 +00:00
eeh
73ff12bf97
Bump version.
2001-08-16 23:57:08 +00:00
fredette
ba289d7421
Now treat the bus error register as 16-bits wide, even
...
though it has nothing in the top half. Reading it as
only 8 bits can sometimes give erroneous values. Under
DEBUG, also stash the value read in the buserr_reg global,
since the value is only latched until read.
2001-08-16 23:54:31 +00:00
fredette
3a6e3c55cb
Added the crucial "packed" attribute to the type 8 frame structure.
2001-08-16 23:45:12 +00:00
augustss
a8415c10db
Clear busy flag on write error. From PR 13731, IWAMOTO Toshihiro.
2001-08-16 22:31:24 +00:00
itojun
74ad87bc53
gif interface now uses generic software interrupt
...
(on archs that support it). also, make gif ALTQ-capable on outgoing.
sync with kame, comments from thorpej.
2001-08-16 17:45:25 +00:00
tv
57c096de20
KNF on previous.
2001-08-16 15:37:06 +00:00
ragge
adc0050e52
Trying to get these files out of Attic.
2001-08-16 14:56:30 +00:00
ragge
988a8d9aa1
Trying to get files out of Attic.
2001-08-16 14:55:32 +00:00
itojun
fd048b8ff1
avoid symbol conflict with "sin()".
2001-08-16 14:28:54 +00:00
wiz
5b9ecbe2eb
Fix indentation in switch statement, per kern/13725 by seebs.
2001-08-16 13:37:32 +00:00
matt
9c82a67f2b
Add a MID_88K (note that it's different from OpenBSD's since their value
...
for 88K is our value for SPARC64).
2001-08-16 05:06:35 +00:00
fredette
aeb5917f66
Made prom_putchar and prom_putstr use the PROM putchar
...
function instead of framebuffer functions. This makes
serial consoles work again.
2001-08-16 01:47:45 +00:00
chs
e9fbc91f95
user maps are always pageable.
2001-08-16 01:37:50 +00:00
rearnsha
d47e5736c8
ANSIfy function declarations and prototypes. Tidy up include files.
...
Minor reformatting.
2001-08-15 22:28:15 +00:00
eeh
0cbe02398a
Add support for smaller sector sizes so we can mount ffs filesystems.
2001-08-15 22:21:01 +00:00
rearnsha
0d9806035b
Include sys/types.h, sys/callout.h and machine/intr.h. Don't include
...
sys/disklabel.h or sys/dkstat.h.
2001-08-15 20:27:46 +00:00
eeh
f6420907ca
Support for raidframe roots. I hope. (Someone needs to test this.)
2001-08-15 20:10:24 +00:00
rearnsha
5bc2f13417
Don't need machine/io.h or machine/irqhandler.h either.
2001-08-15 20:08:46 +00:00
eeh
1cf3d55cda
Make the loader extend the data+BSS segment to 4MB so we don't need to
...
shuffle it around in pmap_bootstrap().
2001-08-15 20:08:15 +00:00
rearnsha
34ab61ef21
Don't include podulebus.h. Do include machine/bus.h.
2001-08-15 20:05:08 +00:00
uch
edcb9ebf0f
fix hf_order_flags.
2001-08-15 15:16:53 +00:00
simonb
28a25d9058
_Never_ make a cosmetic change to a comment without test-compiling...
2001-08-15 14:27:00 +00:00
eeh
e31ca9e045
regen.
2001-08-15 05:27:29 +00:00
eeh
950d07bdf7
Use the netbsd32 version of anything that takes args.
2001-08-15 05:18:11 +00:00
eeh
16b1f7aae0
Fix bug in netbsd32_compat_43_olseek return value.
2001-08-15 05:16:59 +00:00
simonb
e77212ece8
Add some MIPS, Alchemy and SiByte CPU PRIDs (from oss.sgi.com).
2001-08-15 03:01:37 +00:00
simonb
d1cb410de4
Add Alchemy and SiByte company IDs (from oss.sgi.com).
2001-08-15 02:45:08 +00:00
simonb
4c76cec1d3
Remove parameter names from function prototypes.
2001-08-15 02:43:34 +00:00
mhitch
e6118cd2a1
ELF symbol support for DDB.
2001-08-15 01:29:29 +00:00
mhitch
cfc1f88145
loadfile() support for new amiga boot loader.
2001-08-15 01:18:09 +00:00
mhitch
0b5d3c0d43
From Chuck Silvers:
...
implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-08-15 01:03:59 +00:00
augustss
64e123faaf
If there was a vendor+product locator match return a higher match value.
...
Rationale, if you have a device (e.g., a mouse) with a more specific
driver but want to recognize it with the more generic driver you can
do that by supplying vendor and product locators for the generic one.
2001-08-15 00:06:49 +00:00
augustss
dfe96bae01
Add a little infrastructure so that individual drivers can easily check
...
if thee was a vendor+product locator match.
2001-08-15 00:04:59 +00:00
rearnsha
ff2b83c782
New bus-independent DMA framework. Adjust asc.c for new interface
...
but not (yet) make use of new framework.
2001-08-14 22:58:17 +00:00
augustss
596db62c43
Alphabetize two items. Fix one whitespace glitch.
2001-08-14 13:15:45 +00:00
mrg
c22c51584c
but this machine is now an ultra1.
2001-08-14 12:16:19 +00:00
mrg
d8544ce59a
this machine is no more.
2001-08-14 12:14:59 +00:00
mrg
6ca0883022
build netbsd32, sunos32, svr4 and svr4_32 LKM's on sparc64.
2001-08-14 12:00:01 +00:00
mrg
4f3eac8332
mtod() with uintptr_t, not bus_addr_t.
2001-08-14 11:57:26 +00:00
mrg
c9fa7a702a
add (u_long) casts for sparc64.
2001-08-14 11:55:38 +00:00
itojun
974a4e79a0
don't panic on mknod(2) over NFS. PR 13705.
2001-08-14 05:31:55 +00:00
simonb
e807a5f821
Fix typo, noted by UCHIYAMA Yasushi in private mail.
2001-08-14 04:32:56 +00:00
fredette
170407cf2c
Fixed a bug where we were using ETHERMIN and ETHERMTU
...
where we really wanted ETHER_MIN_LEN and ETHER_MAX_LEN.
2001-08-14 03:57:16 +00:00
cjs
0079971ec4
Back out previous change; I've lost my card and can't test it.
2001-08-14 01:09:33 +00:00
hubertf
1fabbfed1a
Sync with GENERIC,v 1.414
...
XXX We really need a better way to do such things...
XXX For now, please make sure to update this too when editing GENERIC!
2001-08-14 00:27:03 +00:00
mjacob
7a43c0e46b
Fixed the one minor buglet that kept 8200s from working
...
(SCB_VECTOIDX(vec) - SCB_IOVECBASE] -> SCB_VECTOIDX(vec - SCB_IOVECBASE))
Sigh. This is all very good work- this new interrupt stuff. Yet like the
last time my good friend Jason 'simplified' things, we lost information.
It used to be you could tell which specific slot an interrupt was frame
based upon the vector. Now you can't because they're allocated dynamically.
Oh well- it's not all that important.
2001-08-13 23:36:30 +00:00
bjh21
63011ec08f
Add lint stubs. Not actually tested or anything.
2001-08-13 23:16:11 +00:00
bjh21
9d345bfc35
New header file for FIQ-related definitions.
...
Currently just contains the FIQ numbers, until I decide on an API.
2001-08-13 22:59:40 +00:00
wiz
a8a789da28
Space nit. kern/13712 by seebs.
2001-08-13 22:52:26 +00:00
soda
e65a97d83b
correct function name in panic message which is referred by Izumi Tsutsui
...
on port-arc mailing list.
2001-08-13 19:08:13 +00:00
soda
7e7514b7f1
OP_BLTZAL was defined twice.
2001-08-13 18:48:48 +00:00
soda
5ea71c9743
fix duplicate wired TLB allocation, this is now done in {vga,pccons}_jazzio.c.
2001-08-13 18:45:49 +00:00
tsubai
b1d1120084
Search "/netbsd.gz" and "/netbsd.macppc" in addition to "/netbsd".
2001-08-13 15:38:11 +00:00
itojun
a66997843c
sync with GENERIC 1.414. LAMB has no working printer port.
2001-08-13 11:21:40 +00:00
cjs
6c1314f4b8
Add Transmeta and products, and an ALI integrated sound/modem device.
2001-08-13 08:51:38 +00:00
jdolecek
a95aa7326a
g/c _remque()/_insque(); use the C version in libkern
2001-08-13 06:10:09 +00:00
cjs
a95288891b
Change the '@(#)' strings in front of the copyright/version messages to '@( )'
...
so as not to clutter the output of the what(1) command when run on a kernel.
2001-08-13 03:07:23 +00:00
chs
610af327b3
add an unlock missing from previous revision.
2001-08-13 01:12:15 +00:00
scw
13c2f8b505
Some more things ticked off the list.
2001-08-12 19:28:28 +00:00
scw
79abe4afda
Fix the clock device offset. (Overlooked in last commit)
2001-08-12 19:16:18 +00:00
scw
e97b8f6555
clockreg.h is no longer needed now we use the MI mk48txx driver.
2001-08-12 18:36:17 +00:00
scw
e9261b9f13
Time Keeper NVRAM driver.
2001-08-12 18:34:25 +00:00
scw
bb210bda7e
Split the nvram/rtc functionality away from the clock interrupt code
...
and attach it as `timekeeper0 at mainbus0'.
Use the MI mk48txx nvram/rtc access functions instead of home-grown
versions.
It should now be very easy to add a character device for the benefit
of userland access to NVRAM.
2001-08-12 18:33:12 +00:00
scw
7374ebbf8c
Slight tweak: Avoid needlessly purging cachelines which we've just flushed.
2001-08-12 18:13:45 +00:00
itojun
99c5195929
remove "#ifdef IPSEC_DEBUG" conditional from from key_debug.h
...
(headers must have no #if). sync with kame
2001-08-12 11:52:43 +00:00
itojun
984d46bbc4
there is no KEY_DEBBUG. use IPSEC_DEBUG
2001-08-12 11:48:27 +00:00
jdolecek
c495131fe3
Move _insque()/_remque() to libkern. Once remaining uses would
...
be converted to <sys/queue.h> macros, _insque()/_remque() would be eliminated
altogether.
2001-08-12 08:35:31 +00:00
chs
7c661278ee
update some comments.
2001-08-12 00:20:32 +00:00
bjh21
a3119c10de
Report link status correctly for 10BASE-T.
2001-08-11 20:42:45 +00:00
chris
0b0518e0dd
Fix compile without DIAGNOSTICs enabled
2001-08-11 14:47:56 +00:00
chris
191de4d242
Checking a whole host of pmap changes:
...
Improved locking (not that we actually use it on a uniprocessor, but one day :)
Removed unneeded splvm's
tweaked pmap_clean_page code to only flush the cache if the page is mapped in the current pmap (based on diff from richard E)
Adopted pv entry allocation mechanism from i386.
Laid framework for returning ptp's when we've finished with them rather than holding onto them till the process exits.
ptp's are now allocated with a uvm object for the pmap, means that we can walk a list to free them off in pmap_release, until they get freed off by pmap_remove.
Also implemented a page zeroing function when the processor is idling. Note that hpcarm may wish to disable this.
I believe this code to be stable, if anyone has any problems please shout up.
2001-08-11 13:20:19 +00:00
chris
c5de587666
Make use of pmap_kenter instead of pmap_enter for kernel buffers.
2001-08-11 13:00:48 +00:00
chris
163b9983d7
Add arm_trunc_page, similair to trunc_page but using a hardcoded PGOFSET.
2001-08-11 12:59:45 +00:00
chris
6cca1c3f58
Update to make use of a proper kenter implementation for vmapbuf and vunmapbuf.
2001-08-11 12:57:25 +00:00
chris
6e43d02452
Patch in Richard E's changes to bcopy page, the loop doesn't need unrolling as much as it currently is due to the overhead of the load/stores taking most of the time. (profiling shows minimal time difference)
2001-08-11 12:44:42 +00:00
yamt
5d1c2fff55
fix cksum error of udp and tcp packet with ip options
2001-08-11 12:26:50 +00:00
eeh
76d075e3b3
Use the new in4_cksum.
2001-08-10 20:53:50 +00:00
eeh
0e7789220f
Add an optimized in4_cksum().
2001-08-10 20:53:11 +00:00
bjh21
12a3da3896
Add RASOPS_SMALL.
2001-08-10 20:14:17 +00:00
bjh21
976681bfed
Adjust #ifdefs so RASOPS_SMALL doesn't give "defined but not used" warnings.
2001-08-10 19:12:35 +00:00
msaitoh
dfc4520de8
G.C.
2001-08-10 18:57:25 +00:00
msaitoh
6096cc20fb
byebye
2001-08-10 18:55:08 +00:00
bjh21
beb2e3fe5d
Cast size_t argument appropriately for printf format.
2001-08-10 18:51:06 +00:00
msaitoh
0756145b0f
fix a ldtlb handling bug:
...
- set to PTE{H,L,A} and call LDTLB must do atomically.
- never call LDTLB when it's unnecessary.
Broken kernel oocasionally causes cpu reset when /etc/security is called.
Now fix this problem.
2001-08-10 18:27:08 +00:00
bjh21
b5560b60b9
No need to mention procfs_machdep.c here -- it's in files.arm anyway.
2001-08-10 18:24:20 +00:00
tsutsui
17f8dae7c0
This file is no longer used. (moved to ofppc/soft_spl.c)
2001-08-09 16:08:34 +00:00
thorpej
04ad3b5316
There is no need to use M_EOR here.
2001-08-09 11:54:32 +00:00
lukem
ed54fa2d76
correctly cast arguments to scanc()
2001-08-09 08:16:42 +00:00
lukem
1a2d5cf412
be consistent and use "u_char" instead of "unsigned char"
2001-08-09 08:15:26 +00:00
lukem
9bbc26f3dc
convert to ansi knf, and fix a bug where the last arg was incorrectly
...
'u_char' instead of 'int' (per the prototype and usage and other scanc
implementations)
2001-08-09 08:03:34 +00:00
eeh
39634ee178
Clean up some debug printfs.
2001-08-09 01:03:01 +00:00
eeh
462c99aa55
pmap_kenter_pa() always creates privileged mappings.
...
No need to enter a no-fault mapping any more.
2001-08-09 01:01:31 +00:00
eeh
10d6680e29
Fix context masking lossage caused by last version.
2001-08-09 01:00:11 +00:00
matt
f3011c96b4
Fix thinko. Do the mask before the divide.
2001-08-08 21:09:58 +00:00
eeh
82ff27c161
Clean up the trap code to handle the changes cause by supporting non-faulting
...
accesses. Also change the parameter order so trap frames are easy to find.
2001-08-08 18:30:45 +00:00
christos
699b00997c
PR/13652: Katsuomi Hamajima: Fix compile error.
2001-08-08 13:23:34 +00:00
wdk
83cb8b7f0a
If the boot device cannot be determined don't return an un-initialized
...
pointer.
Prevents garbage when asking for root device at startup.
2001-08-08 11:35:12 +00:00
lukem
a73aa816f3
get argument name correct in comment describing vop_balloc_args
2001-08-08 08:36:36 +00:00
eeh
b88a8597fb
This file is no longer used.
2001-08-08 00:17:00 +00:00
eeh
b012dbff07
Use the new version of in_cksum.
2001-08-08 00:13:37 +00:00
eeh
57ef5c3617
Add an optimized assembly in_cksum(). (Why did I do this?)
2001-08-08 00:12:37 +00:00
eeh
7ffc44a35e
Add some useful mbuf fields.
2001-08-08 00:09:30 +00:00
bjh21
4dd0161267
Use STACKALIGN rather than &=~7.
2001-08-07 22:56:09 +00:00
bjh21
8fa03d16ac
Add macros to hide the details of stack-pointer alignment.
2001-08-07 22:54:00 +00:00
bjh21
bd6d4d6b77
Use <arm/param.h> to get shared definitions.
2001-08-07 22:26:56 +00:00
scw
e8ba963ae7
Change a post-decrement to a pre-decrement.
2001-08-07 17:25:19 +00:00
bouyer
efdadcb7dc
Properly set/clear IFF_OACTIVE.
2001-08-07 16:53:06 +00:00
christos
92bef1e82b
regen
2001-08-07 13:57:41 +00:00
christos
6c97413c48
Add zonet zen (Henrik Berglund)
2001-08-07 13:57:24 +00:00
kanaoka
59942d00fd
Fix typo in a message.
2001-08-07 02:59:53 +00:00
eeh
b400579dd9
Make sure C code always has ASI_PRIMARY_NOFAULT in the %asi register so
...
the compiler will be happy if it ever starts generating speculative loads.
2001-08-07 00:03:27 +00:00
eeh
c633b30dd4
Add some alternate spellings for ASIs.
...
Make sure ASI_PRIMARY_NOFAULT is always restored.
Garbage collect some old code.
2001-08-06 23:55:34 +00:00
bjh21
f37b49755f
When delivering a signal, ensure that the stack is 8-byte-aligned.
2001-08-06 22:32:23 +00:00
soren
3c508a8790
Add support for the PCI-400 card and correct the clock rate for all the
...
VScom/Titan cards.
2001-08-06 22:25:36 +00:00
eeh
4b569fc269
Fix bug involving small, non-contiguous dma segments.
...
From Manuel Bouyer.
2001-08-06 22:02:58 +00:00
bouyer
5243b06e38
Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of
...
3 different ones.
Also pass the rigth seg/nseg to bus_dmamem_free().
Correct types in debug printf's
2001-08-06 19:20:26 +00:00
augustss
be12c4395c
Don't write back status bits that are cleared when written.
2001-08-06 15:15:08 +00:00
ad
c1856b0940
Add more LAN defs.
2001-08-06 13:33:49 +00:00
ad
5b470dcd5f
Add iopl.
2001-08-06 13:25:10 +00:00
ad
8cd802fef0
Thinko.
2001-08-06 12:17:09 +00:00
ad
c7b78dd4ee
Add iopl.
2001-08-06 12:13:49 +00:00
ad
6e8802596a
Rough I2O LAN interface driver. Needs a bit of work.
2001-08-06 12:12:36 +00:00
itojun
57030e2f12
cache IPsec policy on in6?pcb. most of the lookup operations can be bypassed,
...
especially when it is a connected SOCK_STREAM in6?pcb. sync with kame.
2001-08-06 10:25:00 +00:00
enami
4977f2fb2d
Advertize pause capability (802.3x flow control) to peer.
2001-08-06 09:51:40 +00:00
thorpej
013d3a1013
Make some APMDEBUG verbosity only verbose if the INFO debug flag is set.
2001-08-06 07:59:39 +00:00
thorpej
de108bd82d
Add enable/disable hooks on devices that have ACPI power management
...
capability, using D3 and D0 power states. This saves me quite a bit
of battery when not using the built-in Ethernet on my IBM T-20 during
long IETF meetings.
2001-08-05 23:39:59 +00:00
itojun
e3d077542f
cosmetic (spacing near /* */). sync with kame
2001-08-05 22:20:44 +00:00
eeh
140e9e72dd
Add support for non-faulting loads and optimize MMU miss handling paths.
2001-08-05 18:32:30 +00:00
jdolecek
74954dadf9
use unsigned variable types as appropriate
2001-08-05 18:07:51 +00:00
lukem
e2f9740f5b
add arch/${MACHINE_CPU}/${MACHINE_CPU} for the arm ports
2001-08-05 13:41:50 +00:00
chris
9522cf08d4
Share procfs_machdep.c across arm.
2001-08-05 13:09:45 +00:00
jdolecek
57a49a2de0
introduce hard limit on maximum font size (WSDISPLAY_MAXFONTSZ - 512KB)
...
and keymap size (WSKBDIO_MAXMAPLEN - 64KB)
2001-08-05 11:26:52 +00:00
jdolecek
8070356a9f
bound check the vi.in_size in venus_ioctl()
2001-08-05 11:22:33 +00:00
jdolecek
539f3bcc23
change ccio_ndisks and sc_nccdisks of struct ccd_ioctl from int to u_int
...
introduce hard limit on number of disks which can be contcatenated togetger,
CCD_MAXNDISKS
2001-08-05 11:20:13 +00:00
jdolecek
47849859a8
Don't allow the size of active diagnostics parameter be bigger than
...
newly added I4B_ACTIVE_DIAGNOSTIC_MAXPARAMLEN (currently 64KB).
2001-08-05 11:16:56 +00:00
tsutsui
9e7c918fc2
Avoid NULL pointer dereference.
2001-08-05 11:14:21 +00:00
jdolecek
7810c0591b
Allow max. MAXPHYS sized mu_datasize for user command.
...
Reviewed by Andrew Doran <ad@NetBSD.org>.
2001-08-05 11:11:33 +00:00
jdolecek
ceb38aa743
remove unnecessary casts, make variable types consistent with the
...
respective wsdisplay_cmap member
no functional change, stylistic only
2001-08-05 11:09:51 +00:00
scw
aac15fa001
Create the `machine' symlink before building.
2001-08-05 10:52:05 +00:00
scw
86b01af066
Make this work again for mvme147...
2001-08-05 09:45:39 +00:00
enami
256a367268
Give different names for different wait channels.
...
# and minor knf fix while I'm here.
2001-08-05 08:25:39 +00:00
tsutsui
96ca5eec53
Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE to save KVA space.
2001-08-05 06:55:02 +00:00
matt
b46d7a47ab
Don't substract KERNBASE, xor it to clear. The former causes GNU ld to
...
bitch about a signed overflow and this code is only done once, incurring
an extra instruction isn't going to matter much in the long run.
2001-08-05 06:14:22 +00:00
matt
f33b1a3fd8
This is a HOST program, so make compile as one.
2001-08-05 06:10:25 +00:00
tsutsui
9651c6a654
Add PM_SR
2001-08-05 05:47:43 +00:00
matt
ced3859405
print time_t as signed long.
2001-08-05 05:22:10 +00:00
matt
9509e734a3
Force size_t formats/arge to be (u_long). I'd use 'z' for this but gcc
...
2.95.3
2001-08-05 05:07:27 +00:00
matt
c7d43df086
If = is in a constraint, it must be the first character.
2001-08-05 04:40:03 +00:00
matt
cce919e025
Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't
...
defined. Include them explicitly in the few kvm_arch.c that need them.
2001-08-05 03:33:15 +00:00
mrg
ca351acf50
avoid an unused variable warning
2001-08-05 03:03:16 +00:00
jdolecek
fcc522e5ce
It seems the fixed rate versions are actually fixed at 48 kHz, not 44.1 kHz.
2001-08-04 22:15:56 +00:00
chs
177230d1d6
implement pmap_k{enter_pa,remove}() correctly.
...
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 18:42:39 +00:00
ad
87f451b1a0
This isn't relevant any more.
2001-08-04 16:55:07 +00:00
ad
03e46dc80b
Some changes from OpenBSD, and some of my own:
...
- More SCSI port defs.
- Nuke vtophys().
- Release resources in iop_init() upon failure.
- Don't use a message wrapper when initalising the outbound FIFO.
- A couple of field size/endian fixes.
- Just use iop_post() when we don't need special handling.
- IM_DISCARD is now pointless, since we don't queue at the driver level.
- Map data transfers from/to userspace directly.
- A few comment and stylistic changes.
2001-08-04 16:54:18 +00:00
chs
79124b95bf
implement pmap_k{enter_pa,remove}() correctly.
...
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 16:26:49 +00:00
sato
0e356bc8ef
fix VR4122 some unit address.
2001-08-04 14:08:46 +00:00
enami
97ceb61316
MII access routines for ASIX AX88190.
2001-08-04 11:38:57 +00:00
chs
6bc422a7ee
use pmap_k* in pagemove() (ie. for buffer cache pages)
...
and in vmapbuf() and vunmapbuf() (since there's no VAC on this platform).
2001-08-04 07:44:52 +00:00
chs
ea127ad258
use pmap_k* in pagemove(), ie. for buffer cache pages.
...
in vunmapbuf(), call pmap_kremove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-04 07:42:07 +00:00
chs
be706f969f
in vunmapbuf(), call pmap_remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-04 04:28:49 +00:00
chs
f6a81a1ac7
remove the uncached idle-loop page zeroing.
...
(to be replaced by a version that uses the cache...)
2001-08-04 04:26:48 +00:00
chs
873e926c7b
remove remaining spl calls, they're not needed.
...
remove some checks for impossible conditions.
in pmap_enter(), only call pmap_remove() to remove an existing mapping
if there actually is an existing mapping.
in pmap_remove_pv(), don't flush the MIPS1 cache when removing the last mapping.
this was added in rev 1.97, to avoid stale data being left in the cache
when the page is zeroed bypassing the cache in pmap_zero_page_uncached().
we've since found that bypassing the cache for idle-loop page zeroing
doesn't work very well anyway, so we don't do that anymore.
so now we can remove the extra cache-flush.
remove pmap_zero_page_uncached() while I'm thinking of it.
various other cleanup.
2001-08-04 04:25:37 +00:00
chs
843823c7c5
rewrite set_segmap_allctx() in assembly.
...
reduces cpu usage of sequential write()s to a file by 5%.
2001-08-04 04:06:29 +00:00
bouyer
10a5470050
Ops, forgot to commit this one:
...
- kill carrier detection code, it's not that usefull and give false indications
on loaded ethernet segments
2001-08-04 02:21:24 +00:00
enami
4b5c6b86d6
Minor tweak to build kernel under a.out environment.
2001-08-04 00:54:30 +00:00
tsubai
3070e77046
Remove (#if 0'ed) m68k asm codes.
2001-08-03 23:09:42 +00:00
itojun
43383b1e36
simplify previous fix (0-length mbuf in mbuf chain). from freebsd
2001-08-03 21:11:57 +00:00
matt
d21af3840d
Make the directory list alphabetical again.
2001-08-03 18:28:09 +00:00
bouyer
7c292e3d22
- kill the carrier detect code. It's not usefull any more and can give
...
false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
on macppc).
Close PR kern/10327.
2001-08-03 16:53:08 +00:00
ad
e7021f649d
Remove unnecessary test.
2001-08-03 14:10:16 +00:00
tsubai
b51ccd5322
Cosmetics.
2001-08-03 12:58:38 +00:00
tsubai
b1919bc716
Add bmtphy.
2001-08-03 12:56:55 +00:00
augustss
cf037802c2
Add an I/O Data adapter.
2001-08-03 11:17:17 +00:00
augustss
c7aac1f4ef
Regen.
2001-08-03 11:16:50 +00:00
augustss
5c01e15b22
Ad an I/O Data Ethernet adapter.
2001-08-03 11:16:24 +00:00
jdolecek
58ed62e500
Constraint 'blkcnt' of lfs_markv() syscall by 64KB. Reviewed by
...
Konrad Schroder <perseant@NetBSD.org>.
2001-08-03 06:02:42 +00:00
jdolecek
332bb4894a
bound check mount args more thoroughly
2001-08-03 06:00:13 +00:00
jdolecek
c650c8d91c
make local 'nsops' same unsigned type as the value we store there in sys_semop()
2001-08-03 05:58:18 +00:00
thorpej
518ad20222
Upon further reading of the manual, don't save the MXCSR-at-last-exception.
...
Its status bits are sticky, and unaffacted by FNINIT.
2001-08-03 01:46:08 +00:00
tsutsui
38016b0ba8
Fix some typos in newer ALi M5229 support. Approved by bouyer.
2001-08-03 01:31:08 +00:00
thorpej
099e93139b
In setregs(), initialize the process's MXCSR to the reset-default
...
value as documented in the IA-32 Instruction Set Reference (in the
description of the LDMXCSR insn).
2001-08-03 01:24:39 +00:00
thorpej
cfb1fd004d
Don't clobber the MXCSR when we fake FNINIT.
2001-08-03 01:21:34 +00:00
thorpej
f72ee0a9c6
Remember the MXCSR at last-exception the way we do the FPU SW/TW.
2001-08-03 01:11:49 +00:00
groo
3f5acd41c2
Remove trailing "U" on KERNBASE introduced in last commit.
...
Breaks assembly of locore.
2001-08-03 01:03:10 +00:00
thorpej
6e331fdd9f
Define KERNTEXTOFF in terms of KERNBASE.
2001-08-03 00:47:59 +00:00
thorpej
8f308d671e
Adapt to new FPU save format in PCB.
2001-08-03 00:41:46 +00:00
bjh21
8c3ac05de9
Bump version for * command addition.
2001-08-03 00:41:12 +00:00
bjh21
33452511ed
Add a single * command, *boot26, so that the module can be manually invoked
...
after it's loaded.
2001-08-03 00:40:23 +00:00
bjh21
b471d90032
Add OS_Module.
2001-08-03 00:32:30 +00:00
bjh21
6e82ab9796
Wrap boot26 in a minimal relocatable module. When *RMRun, it just copies the
...
existing boot26 code to 0x8000 and runs it.
2001-08-02 23:55:55 +00:00
bjh21
3e749936d6
Script to generate a help string for a RISC OS module from the same sources
...
as newvers_stand.sh uses.
2001-08-02 23:47:07 +00:00
bjh21
4eebbc71e2
Don't force booters to have srt0.S at the start if they don't want to.
...
Also allow them to override the filetype they end up with.
2001-08-02 23:38:04 +00:00
eeh
09c1ee004c
Fix bcopy.
2001-08-02 22:41:32 +00:00
assar
a9eb6b2c79
(*fs_mount): do not get the parent vnode back from namei to just release it
2001-08-02 22:40:58 +00:00
thorpej
08b77f43f0
Deal with the SSE FPU save format.
2001-08-02 22:04:57 +00:00
thorpej
f0449fd933
- Rename cpu_use_fxsave to i386_use_fxsave.
...
- If we detect SSE/SSE2 support in the CPU, enable SSE exceptions
and set i386_has_{sse,sse2} as appropriate.
- Expose i386_use_fxsave and i386_has_{sse,sse2} through sysctl
as machdep.{osfsxr,sse,sse2}.
2001-08-02 22:04:28 +00:00
thorpej
99a7f640fe
Add support for saving/restoring SSE/SSE2 state using FXSAVE/FXRSTOR.
...
Reviewed by Frank.
2001-08-02 21:04:43 +00:00
bjh21
a2ac0e50f5
Bump version number for loadfile changes.
2001-08-02 20:24:03 +00:00
ichiro
9ada1599ca
implement rx/tx protocol routine of atmel microcontroller.
2001-08-02 18:51:00 +00:00
matt
d4a7b6fc1c
Fix non-properly ifdef'ed SUN4 only code.
2001-08-02 18:06:22 +00:00
bjh21
10414d85a9
Undo version bump. The sparc ofwboot doesn't use loadfile().
2001-08-02 16:22:46 +00:00
toshii
5424e08a49
Change the start address to load the kernel. We have 768k more free
...
memory now.
2001-08-02 14:45:40 +00:00
toshii
7aac1bef3b
Don't assume KERNEL_TEXT_BASE >= 0xc0080000.
2001-08-02 14:42:08 +00:00
toshii
f2c68887e0
Check if sc->sc_dc is NULL, so that non-console hpcfb can attach without
...
a panic.
2001-08-02 14:40:04 +00:00
itojun
47133068ba
do not break from loop even if m_len == 0. it's valid to have
...
mbuf with m_len == 0 in mbuf chain.
2001-08-02 13:37:51 +00:00
bouyer
f7c2f13a54
Properly setup timings for ata-4 controllers, including UDMA modes.
...
Tested on a brand new ("dual USB ?") ibook.
2001-08-02 12:41:39 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
itojun
ce781443e0
pass replay sequence number on sadb_x_sa2 (it's outside of PF_KEY standard
...
anyways).
2001-08-02 12:10:14 +00:00
itojun
b26591525e
remove "register" variable specifier. sync with kame
2001-08-02 11:32:14 +00:00
sato
5215d66720
add MC-R700 battery parameters.
2001-08-02 11:21:27 +00:00
sato
2746e887bc
turn pwctl_debug to 0
2001-08-02 09:47:18 +00:00
shin
ad4858224a
make this file compilable without TX39IRDEBUG.
2001-08-02 04:30:01 +00:00
eeh
afa694c704
Sync bzero w/libc version.
2001-08-02 01:47:47 +00:00
itojun
32c36b5e14
fix logic to free up ifqueue on if_detach(). prev pointer was incorrectly set.
2001-08-02 01:42:38 +00:00
ad
aaf3c7c88b
Hook in the mly control interface on i386.
2001-08-01 20:54:16 +00:00
thorpej
4b584bf5bb
Add several more Intel cache info entries, and fetch the CFLUSH
...
line size if we have the CFLUSH insn.
2001-08-01 19:50:48 +00:00
thorpej
ebbd9cd428
Add some more CPUID feature bits.
2001-08-01 18:47:38 +00:00
eeh
5cfec63f0d
Integrate fixes from userland memset.
2001-08-01 17:01:26 +00:00
tsutsui
2c44aa6dfd
Remove unused pciide_print() declaration. From OpenBSD.
2001-08-01 16:29:21 +00:00
rjs
faf8b4c913
Update from hpcarm with changes to probe routine and test for chip ID.
2001-08-01 14:02:58 +00:00
ichiro
d9f2bbf31f
add initialization of GPDR pin direction to ipaqpcic_init(sc).
...
add judgment of complete of the Card (SAPCIC_STATUS_READY)
2001-08-01 13:18:44 +00:00
haya
3d57cec099
Add new entry for intel ICH2 LPC interrupt router. It has
...
upper compatibility with piix.
2001-08-01 09:11:19 +00:00
ichiro
1af1e2f9eb
implement a atmelgpio.c
...
this is initial version, only frame.
2001-08-01 07:59:43 +00:00
ichiro
e1eef3118a
add entry of Atmel microcontroller and uda1341 codec
2001-08-01 07:03:45 +00:00
ichiro
a179a1a6b1
i mistake
...
reverse a change
2001-08-01 07:02:54 +00:00
ichiro
1b56a92cf9
add entry of Atmel microcontroller and uda1341 codec
2001-08-01 06:59:17 +00:00
ichiro
4c5c9a1509
add register of GPCLK/UART1 (SACOM1_BASE)
2001-08-01 06:43:50 +00:00
ichiro
286cc764db
add more register of DUAL PCMCIA SLEEVE for iPAQ
2001-08-01 06:14:31 +00:00
dante
26c61e2dd0
change\n\tswitch (scsiq->host_status)\nto\n\tswitch (scsiq->scsi_status)\nin adw_isr_callback()
2001-07-31 23:12:01 +00:00
jdolecek
98cdfa790c
fix typo for previous in I386_CPU case
2001-07-31 22:52:44 +00:00
bjh21
286faf2070
Extra sanity checking on ELF headers: Make sure the bootloader actually
...
loaded (or claims to have loaded) everything we need.
2001-07-31 22:31:47 +00:00
matt
f8e21592da
regen
2001-07-31 22:30:07 +00:00
matt
b2c29c20ae
Add pci ids for the Intel 80312 I/O companion chip for the
...
Intel 80200 XScale processor.
2001-07-31 22:27:25 +00:00
bjh21
acf574f63e
When loading ELF, zero out:
...
The e_shstrndx field in the ELF header, since we don't load .shstrtab.
The sh_name field in each section header, for the same reason.
The sh_offset field for any section we don't load.
This means the kernel has some chance of knowing what it's being given. It
also means that the behaviour of old kernels with new loaders should be
deterministic (if not terribly useful: they still can't find the symbol
table).
2001-07-31 22:11:57 +00:00
ichiro
1af74c304d
iPAQ uses Atmel microcontroller to service a few peripheral devices
...
(Touch panel, Battery status, button events, and others status)
2001-07-31 21:33:03 +00:00
bjh21
30f144749a
G/C "off", since it was just tracking the difference between maxp and elfp.
2001-07-31 21:09:52 +00:00
bjh21
67a82e1d4e
Fix a small memory leak when counting the size of the symbol table (shp was
...
ALLOC'ed if (LOAD_SYM|COUNT_SYM), but FREEd if (LOAD_SYM)).
2001-07-31 20:03:03 +00:00
bjh21
1a35da3617
When loading an ELF kernel, don't load all the STRTAB sections. Instead, just
...
load those STRTAB sections that are referenced by a SYMTAB that we're loading.
The main advantage of this is that (at least with the binaries output by my
ARM ELF linker) this removes the need to seek backwards through the file, which
is a big win when loading a gzipped kernel.
While we're here, don't allocate space for string tables we don't load.
2001-07-31 19:20:29 +00:00
bjh21
34c3239d32
Don't depend on the bootloader's having loaded the .shstrtab section
...
in order to load the symbol table. Instead of using the sections
called ".symtab" and ".strtab", use the first SYMTAB section (the
ELF spec says there should currently only be one) and the STRTAB
section that's linked to it. I believe this is more robust, and it
certainly makes life easier for the bootloader.
2001-07-31 19:14:18 +00:00
thorpej
c43f8649d2
Set up function pointers for copyin/copyout in preparation for
...
adding optimized versions for various CPU classes/models.
Split the 386 version of copyout into a separate routine, and
add a 486 version that doesn't have the class/page-writeability
check.
2001-07-31 18:28:58 +00:00
christos
e01e4819af
regen.
2001-07-31 17:01:34 +00:00
christos
4d31855a1c
recognize dlink-660+, from jandberg@netbsd.org (Jukka Andberg)
2001-07-31 17:01:15 +00:00
matt
03b77c0534
Add a CPU_XSCALE defopt (for eventual support).
2001-07-31 17:00:24 +00:00
jdolecek
5664c34574
all outstanding MCA bugs fixed, woo-hoo :)
2001-07-31 13:16:25 +00:00
jdolecek
2b7d2123cd
Make console polling (cnpollc/cngetc) work on IBM PS/2 keyboard controller
...
using level triggered interrupts, which livelocks calling intr routine
if the data register is not read in the interrupt routine, as it's case
when polling after interrupts are enabled during boot.
Block all interrupts when polling for keypress, and modify intr routine
to read and store value from data register. The latter one is to avoid
losing a keypress when one would manage to press a key when kernel is
not in spl-guarded code section.
Tested with classic pccons, 'pcconskbd at pckbc' and 'pckbd at pckbc'
configurations, on i386.
2001-07-31 13:15:28 +00:00
ichiro
6a036b85d9
correct interrupt pipe of USB-RSAQ1.
...
sc_intr_iface was defined newly,
and interface of interrupt was kept in sc_intr_iface.
2001-07-31 12:33:11 +00:00
sato
52d89f6cf1
Abort redrawing when screen switch was requested.
...
Set virtual text vram when other one is drawing framebuffer.
2001-07-31 10:50:06 +00:00
sato
387ddeb6f1
change DPRINTF() to VPRINTF() in pwctl_hardpower().
2001-07-31 10:37:49 +00:00
eeh
5bacff5834
Code cleanup and optimization.
2001-07-31 06:58:09 +00:00
eeh
830be13fa2
Dump some enums that make lint unhappy and we never really use anyway.
2001-07-31 06:55:46 +00:00
chs
fb5f7652b6
fix think-o in pmap_kenter_pa().
2001-07-31 05:29:24 +00:00
atatat
124ae5b65c
Add an easy way to dump the message buffer from ddb.
2001-07-31 04:28:16 +00:00
thorpej
35df06a642
Carve off the code that builds a TCP data packet into its own
...
function, and inline it, except when profiling... so we can
profile it.
2001-07-31 02:25:22 +00:00
chs
0d8e804191
fix typo in previous.
2001-07-31 02:17:27 +00:00
ad
aae284be36
Oops, put back the initalization of "done" in mly_thread().
2001-07-31 02:07:14 +00:00
thorpej
938720eea4
Count the number of times we "self-quench" (ip_output() returns
...
ENOBUFS), and don't inline tcp_segsize() if profiling.
2001-07-31 00:57:45 +00:00
ad
5226d11119
Assume that me->lun contains the device number if this event is for a
...
logical device.
2001-07-30 23:49:51 +00:00
ad
2fa020ae0b
- Forget to report events from logical devices.
...
- Cosmetic changes.
2001-07-30 23:46:28 +00:00
ad
12c4049d31
Don't match boards with a PCI class code of `I2O'.
2001-07-30 23:29:08 +00:00
jdolecek
50f76258ac
Check the passed file handle length _before_, not _after_ copyin()
2001-07-30 22:51:06 +00:00