sekiya
0a6f939a3d
Avoid namespace collision when sgivol is compiled as a native application.
2003-11-08 04:59:00 +00:00
ross
0df0fcb2d2
Simplify (the long) Shark line
2003-11-08 04:49:17 +00:00
dbj
5040c1296f
protect use of buf's b_flags with b_interlock
2003-11-08 04:39:00 +00:00
dbj
84865d5d4f
protect a few uses of buf's b_flags with b_interlock
2003-11-08 04:22:35 +00:00
simonb
47299229f4
Make comsoft_callout static; it's not referenced outside this file.
2003-11-08 02:54:47 +00:00
simonb
d60244d401
Add (as yet unused) COM_TYPE_AU1x00.
2003-11-08 01:59:38 +00:00
simonb
b10e159af2
Add "XXX" to the gcc -Wuninitialised warning fix.
2003-11-08 01:58:26 +00:00
dsl
fcb78a6640
Remove depencency of vers.c on ${LIBLIST} - it messes up the depends and
...
I'm not sure why I added it now!
Default NWEVERSWHAT back to "BIOS Boot" - look better on boot banner page.
2003-11-08 00:02:02 +00:00
dsl
a7e45c127a
stand/lib/crt/rom is no more, no need for it in .PATH
2003-11-07 23:44:56 +00:00
dsl
80e537250b
Make 'dependall' generate the dependencies
2003-11-07 23:39:27 +00:00
dsl
7dbd0e094b
Make 'dependall' generate dependencies in these libraries.
2003-11-07 23:34:28 +00:00
he
4918cc9279
Set `reg' before using it to print the unrecognized value.
2003-11-07 23:04:15 +00:00
briggs
9082432644
Go ahead and define xor function names up to xor16.
2003-11-07 22:04:59 +00:00
briggs
cad1dd99c8
Fix another used-before-initialized bug that gcc uncovered.
2003-11-07 22:04:13 +00:00
carrel
f830588016
enable support for the TREO 600
...
tested and works...
2003-11-07 21:27:56 +00:00
dsl
0c8ed6072c
default: to 1024x768 landscape if unknown geometry (avoids uninitialised vars)
2003-11-07 19:21:39 +00:00
dsl
f4d417c4a9
Add default: and panic() when DEBUG undefined so that 'offset' is
...
not used uninitialised.
2003-11-07 19:16:01 +00:00
dsl
7e50916a6e
Initialise spdreg, gcc doesn't stand a chance of tracking its use.
2003-11-07 18:56:39 +00:00
martin
2ceba4344c
Fix KERN_DEBUG format string <-> parameter mismatch.
2003-11-07 18:49:29 +00:00
cl
4d3b1ee6dc
always set L_SA_UPCALL if the LWP on the VP is asleep
2003-11-07 18:37:41 +00:00
he
c45fa09365
Suppress apparently-bogus -Wunitialized warnings, the compiler does
...
not detect that set / use occur under equal conditions in following
if() statements.
2003-11-07 18:29:30 +00:00
yamt
cc716087b0
- tweak lfs_update_single()'s prototype so that it can be used by
...
roll-forward code.
- reduce code duplication using the above in update_meta()
this also fixes fragment accounting.
2003-11-07 17:55:29 +00:00
augustss
f9f08345e4
Less symbol table space.
2003-11-07 17:36:49 +00:00
christos
e348b1067c
Catch up with struct proc lock changes.
2003-11-07 17:17:00 +00:00
christos
69ae0c6ad2
Fix unitialized variable use. mmm gcc.
2003-11-07 17:16:39 +00:00
augustss
c553c48410
An ugly hack for the interrupt mapping.
2003-11-07 17:12:56 +00:00
augustss
5f5dbfd073
Program some bridge options.
2003-11-07 17:06:42 +00:00
augustss
1950107e53
Add some more defines.
2003-11-07 17:03:42 +00:00
wiz
6a2ed83373
URL updates, from Jared Yanovich and jmc@openbsd, forwarded by the latter.
2003-11-07 17:03:25 +00:00
augustss
ef7949407f
Fix various fallout from the big PPC changes early this year.
...
This pmppc port runs again now.
2003-11-07 17:00:19 +00:00
wiz
afc14a7c01
regen, so "generated from" line is correct.
2003-11-07 16:00:49 +00:00
hamajima
0086268dc3
support Corega Ether PCC-TL -- from Yasushi Oshima
2003-11-07 15:58:57 +00:00
uwe
586aada22a
Supress bogus -Wuninitialized warnings.
2003-11-07 15:02:28 +00:00
pk
d6565c303c
cpu_switch: values in global registers are not preserved across function calls.
2003-11-07 14:54:29 +00:00
yamt
71602f6ec9
fix spec vnode aliasing.
2003-11-07 14:52:27 +00:00
pk
0bd2c4a2ea
swift_cache_enable: set cache enable bits after resetting the cache tags.
2003-11-07 14:50:21 +00:00
yamt
b43ed49269
- tell filesize changes to vm when roll-forwarding data blocks.
...
- handle fragment extension better during roll-forward.
- related assertions.
2003-11-07 14:50:18 +00:00
yamt
cd2445d8d3
more assertion about file truncation to zero.
2003-11-07 14:48:28 +00:00
he
435506f677
Reshuffle this code so that we avoid an uninitialized warning from the
...
compiler.
Reviewed by bjh21.
2003-11-07 12:24:10 +00:00
cl
716d179db5
make lwp running again if we don't switch away in sa_switch(), return is
...
not enough. (noticed by yamt@)
2003-11-07 11:59:48 +00:00
dsl
6074f35279
Change getextmem2 to return 'configured' values from cx/dx if ax/bx zero,
...
make absolutely high the top 16bits of returned values are zero.
Ralf's list says that some BIOS need %eax = 0x0000e820 in getmementry.
Add a few comments.
Might fix problems with memory size detection on some systems.
2003-11-07 11:34:28 +00:00
dsl
a8af374602
Adjust location of 'extmem2' diagnostic print.
2003-11-07 11:30:39 +00:00
enami
063c7653e3
Sync with sys/dev/pci/pcidevs change (ProductID 0x0213 was renamed
...
to CSB6_RAID from CSB6_IDE). And exclude the device of RAID subclass
(i.e., match IDE subclass only).
2003-11-07 10:44:42 +00:00
he
0b0101a884
Re-balance parenthesis.
2003-11-07 10:41:55 +00:00
bouyer
eb42e75cd8
If we already have a channel reset pending, don't try to queue a new one.
...
Otherwise we would bump queue_freeze several times, but the kernel thread would
decrease it only one time.
Fix PR kern/23377 by Mattias Karlsson, and should also fix similar problem
reported by Mihai CHELARU and Bruce J.A. Nourish on current-users.
2003-11-07 08:58:33 +00:00
thorpej
32ddb3f486
Fix brain'o in PCIX speed detection. kern/23375 (John R. Shannon).
2003-11-07 06:03:52 +00:00
mycroft
552d27479a
Replace home-grown locks with lockmgr().
2003-11-07 04:10:56 +00:00
simonb
4116da8027
Sync with dev/ic/com.c rev 1.221.
2003-11-07 02:08:35 +00:00
kivinen
cd9bd33872
eUSB ORCA Quad Reader (SHUTTLE) returns invalid CSWTAGs
...
(always 0). Added quirk to fix it.
2003-11-07 01:04:27 +00:00
kivinen
57d07fa4e6
Regenerated.
2003-11-07 01:02:18 +00:00
kivinen
ff83a852f5
Added eUSB ORCA Quad Reader (Shuttle).
2003-11-07 00:59:38 +00:00
fvdl
1eb5f3a2f2
intr_find_pcibridge returns 0 or error, not < 0.
2003-11-06 23:04:03 +00:00
simonb
7b4feff831
Be consistent with other COM_TYPE_PXA2x0 checks.
2003-11-06 23:02:27 +00:00
simonb
c26e70ad3c
White space nit.
2003-11-06 22:30:09 +00:00
ragge
c556165f92
Do not try to enter more than MAX_INT16 symbols into the patricia tree;
...
the not-entered symbols will be found anyway but via a linear-search.
This only happens if something is wrong when linking the kernel.
Fixes problems reported on port-hp700.
2003-11-06 18:22:01 +00:00
kleink
9acc1a6c3b
Have the linker discard local labels' symbols.
2003-11-06 18:19:32 +00:00
yamt
8b91732e18
fix wrong assertions.
...
they can be false due to alignment requiments (and PMAP_PREFER).
2003-11-06 12:45:26 +00:00
dsl
aed7f069e5
Ensure that the controlling tty is unlinked from the session and pgrp.
...
Due to the way the console is handled, neither the revoke() nor vrele()
is guaranteed to be seen by the real, underlying tty.
2003-11-06 09:30:13 +00:00
dsl
96e2f904d9
Remove a pile of redundant (caddr_t) casts.
2003-11-06 09:16:22 +00:00
dsl
618165063e
When closing a process's controlling terminal, also remove the links
...
to the session and pgrp from the tty. The way that the console is
handled means that the vrele() may not actually do the final close
on the tty itself.
2003-11-06 08:58:04 +00:00
he
1995f8d682
Replace an overlooked instance of p->p_nras with LIST_EMPTY(&p->p_raslist).
2003-11-06 08:49:13 +00:00
jdolecek
a10e06c83e
force -Wno-uninitialized if the compiler is gcc 2.95
2003-11-06 08:23:22 +00:00
mycroft
2ef56c13e8
Force the codec into a known state before trying to determine its speed.
2003-11-06 07:13:33 +00:00
itojun
ae3e6f6041
correct behavior when ipv6mr_interface is 0. Matthias Drochner
2003-11-06 06:10:51 +00:00
simonb
f3bced434d
Try using matching numbers of open and close parentheses to make this
...
compile again.
2003-11-06 04:17:11 +00:00
christos
e9b24cbc3d
make this compile again
2003-11-06 02:25:07 +00:00
christos
16eaa4c6a9
pc532 passes everything on the stack like the i386...
2003-11-06 00:58:17 +00:00
simonb
43621cbb3a
Add kernel portion of siginfo for ns32k.
...
Much thanks to Christos Zoulas for doing this.
2003-11-06 00:41:20 +00:00
simonb
f2706af267
Add COMPAT_16.
2003-11-06 00:38:36 +00:00
he
69c90d9f70
Initialize 'p' to NULL, to work around that the compiler otherwise
...
can't know that 'p' is initialized before it's being used.
Reviewed by ragge.
2003-11-06 00:35:23 +00:00
he
4a1426d85c
Pull up the initialization of 'minnex', so that the compiler can know
...
that it's going to be set before it's used.
2003-11-06 00:33:36 +00:00
he
11f834a44a
Add a default: branch with a panic() to the switch statement to
...
handle "impossible" segment types, so that the compiler can know
that 'pt' has been initialized after the switch statement.
2003-11-06 00:32:27 +00:00
he
93d88e5e12
Work around gcc 2.95.3's inability to detect that 'ck' will be set
...
in rounds 129 and 130 through the loop. Will be noted in doc/HACKS,
and should be reviewed when gcc 3.3.2 is ready for vax.
2003-11-06 00:30:13 +00:00
he
505125808c
Work around gcc 2.95.3's inability to detect that "ret" is initialized.
...
Will be documented in doc/HACKS, and should be looked at again when
gcc 3.3.2 for vax is ready.
2003-11-06 00:25:50 +00:00
simonb
00ea35b3b3
Fix gcc332 uninitialised bogon.
2003-11-05 23:39:21 +00:00
scw
f77bf2bb0c
Enable/Restore alignment fault state on interrupt handler entry/exit.
2003-11-05 21:10:59 +00:00
fvdl
aad37eaff6
Apparently, Dell PERC 4/Di controllers can have two memory BARs, with the
...
second one empty. The previous revision made it pick the empty one.
Reinstate the BAR size check.
2003-11-05 16:03:27 +00:00
yamt
4a570157d7
add a missing pmap_update().
2003-11-05 15:45:54 +00:00
yamt
b479cef701
don't move hint backward.
2003-11-05 15:34:50 +00:00
yamt
171053e863
- fix a reversed comparison.
...
- fix "nextgap" case.
- make sure don't get addresses behind hint.
- deal with integer wraparounds better.
- assertions.
2003-11-05 15:09:09 +00:00
fvdl
664bce39ae
Remove extraneous (
2003-11-05 13:58:00 +00:00
fvdl
51c222e5a2
Add igphy.
2003-11-05 13:51:29 +00:00
scw
aee833c0ee
Add "options ARM32_DISABLE_ALIGNMENT_FAULTS" to forcibly disable
...
alignment fault checking if necessary.
This option gets the acorn32 port working again.
XXX: Richard Earnshaw suggested enabling alignment faults for
XXX: userland only on acorn32. Need to investigate this.
2003-11-05 12:53:15 +00:00
scw
754f153b0d
Use the alignment fault enable/restore macroes in irq_entry.
2003-11-05 12:03:58 +00:00
hannken
2ef662a69e
Clean up the usage of vn_start_write(). At least one occurence clobbered
...
previous error conditions.
If "(flags & (V_WAIT|V_PCATCH)) == V_WAIT" the return value is always zero.
Ignore the return value in these cases.
From Darrin B. Jewell.
2003-11-05 10:18:38 +00:00
scw
ca8c391c95
s/bcopy/memmove/
...
The kernel's bcopy (actually a wrapper around memcpy) is not guaranteed to
handle overlapping regions, even though the old ARM version did.
This fixes a problem where the kernel reported more available memory
than actually existed.
2003-11-05 10:09:10 +00:00
tron
0ad4493632
Update comment for wm(4) attachment because the driver supports more
...
than the Intel 82543 and 82544.
2003-11-05 07:51:12 +00:00
junyoung
dfb82ca484
rindex() shouldn't be used in the kernel. Use strrchr() instead.
2003-11-05 05:46:32 +00:00
mycroft
06eb56a853
So, on other platforms we use the BOOTP/DHCP file name for the boot program
...
and use a default file name of "netbsd" for the kernel. Do the same thing
here, as it hardly makes sense any other way.
2003-11-05 04:18:26 +00:00
christos
82812c7677
remove malloc.h (we don't need it)
2003-11-05 04:03:43 +00:00
christos
293ab5b508
limit malloc so that corrupted executables don't allocate a lot of memory.
2003-11-05 04:03:21 +00:00
uwe
81468ece49
Register definitions for SH7709 DAC.
2003-11-05 03:08:13 +00:00
uwe
7dac2eaa7a
Add closing parenthesis missed in previous.
2003-11-05 01:43:16 +00:00
itojun
60dac07656
use hash table for in6_pcbbind(). similar to in_pcb 1.89 -> 1.90
2003-11-05 01:20:56 +00:00
uwe
758b6ed7d7
ispell comments.
2003-11-05 00:28:34 +00:00
fvdl
60a5dfd880
Add and enable igphy.
2003-11-04 23:38:41 +00:00
he
6a3911e9ce
Make this compile, at least.
2003-11-04 23:19:12 +00:00
christos
808f08e986
Try to make this work. Havard will test it.
2003-11-04 23:01:13 +00:00
scw
5d63abe1f1
Fix a braino introduced in r1.37. Thanks to Tom Spindler for spotting it.
2003-11-04 22:20:50 +00:00
aymeric
a60cfa8cd7
. ANSIfy, make compile
...
. get rid of kbd_intr() and low-level keyboard handling
2003-11-04 19:18:05 +00:00
mycroft
c6589d2082
Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK.
...
This fixes problems with the GL641.
2003-11-04 19:11:21 +00:00
thorpej
73fea8467b
Enable i82541 and i82547 chips - it works well enough to get broader
...
testing. Update the TODO list.
2003-11-04 19:09:39 +00:00
mycroft
94d9caaae4
Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
...
longer have a ServerWorks-based motherboard.
2003-11-04 16:57:57 +00:00
dsl
190473c7b3
Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
...
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
(pad fields left in struct proc to avoid kernel bump)
Somehow this file escaped the earlier commit (in spite of being in the cvs diff
I did beforehand!)
2003-11-04 16:19:52 +00:00
scw
7f80949f0d
Use the same trick as powerpc to resolve the 24-bit pc-relative
...
branch limitation.
2003-11-04 14:50:27 +00:00
pk
1fac26c0a5
* Set ksi_code to SI_NOINFO where we used to return zero.
...
* Fill in ksi_errno if we have an error code to report.
2003-11-04 14:24:25 +00:00
pk
bf835f94c2
Remove !__HAVE_SIGINFO transitional code.
2003-11-04 14:14:28 +00:00
jdolecek
f96eb7635f
yield to the strchr() prototype from libkern.h
2003-11-04 14:04:04 +00:00
dsl
2ffbd2ab99
Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
...
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)
2003-11-04 10:33:15 +00:00
itojun
57b5c736df
suppress -Wuninitialized
2003-11-04 05:50:54 +00:00
uwe
0af2a03977
Provide wskbd* at j6x0tp? attachment that maps taps on the "HP hard
...
icons" (along the right edge of the screen) to key presses.
2003-11-04 03:43:12 +00:00
uwe
399158308d
Redo a quick hack for intc_intr_disable() and intc_intr_enable() to have
...
a saner interface/semantic.
2003-11-04 03:13:48 +00:00
simonb
1c7a9a7183
Indentation nit.
2003-11-04 02:19:28 +00:00
simonb
d576cd5c19
Fix tyop in previous - a "$" before a make variable works wonders.
2003-11-04 02:18:49 +00:00
kleink
272041c199
Compact previous a little, making better use of _NETBSD_SOURCE.
2003-11-04 00:00:36 +00:00
kleink
331b96d4cf
* define S_IFSOCK as an XSI extension,
...
* define S_ISLNK() for POSIX-2001, and
* define S_ISSOCK() for POSIX-2001.
The latter addresses standards/22902.
2003-11-03 23:55:02 +00:00
cl
66c8bc7693
Reimplement VP donation such that multiple unblocked upcalls can be
...
combined. Also prepare for adding VP repossession later.
- kern_sa.c: sa_yield/sa_switch: detect if there are pending unblocked
upcalls.
- kern_sa.c: sa_unblock_userret/sa_setwoken: queue LWPs about to invoke
an unblocked upcall on the sa_wokenq. put queued LWPs in a state where
they can be put in the cache. notify LWP on the VP about pending
upcalls.
- kern_sa.c: sa_upcall_userret: check sa_wokenq for pending upcalls,
generate unblocked upcalls with multiple event sas
- kern_sa.c: sa_vp_repossess/sa_vp_donate: g/c, restore original
sa_vp_repossess
2003-11-03 22:34:51 +00:00
manu
10d03389ac
mach_port_get_attributes (incomplete and untested)
2003-11-03 22:17:42 +00:00
manu
90b3ec4640
First attempt at mach_make_memory_entry. Untested
2003-11-03 20:58:18 +00:00
jdolecek
ed1e458331
vaddr_t is not a pointer
2003-11-03 20:32:17 +00:00
petrov
334dcc0296
Do not set HMEDEBUG as default mode.
2003-11-03 20:30:14 +00:00
mycroft
64bd03aa66
Remove acpiec locking from the list.
2003-11-03 20:16:46 +00:00
mycroft
823720b33d
Rework slightly so we use acpi_match_hid() in pckbc_acpi_attach() too.
2003-11-03 19:11:41 +00:00
mycroft
3ee522bd34
Match all PNP03?? IDs.
...
Also match more PNP0F?? IDs (e.g. the one the HP OmniBook reports). There's
also no need to check IBM3780 any more, as the IBM and Acer machines which
returned it also return a CID of PNP0F13.
2003-11-03 19:04:56 +00:00
mycroft
cec77f23d6
Match all PNP04?? IDs.
2003-11-03 19:03:54 +00:00
mycroft
c992c0b1e9
Match all PNP07?? IDs.
2003-11-03 19:03:40 +00:00
mycroft
8a8efa0ccf
Use pmatch() so that we can use patterns.
2003-11-03 18:51:31 +00:00
mycroft
d4f7d52915
Add a SMC ID.
2003-11-03 18:25:56 +00:00
mycroft
4ac0e3e5c6
More cleanup:
...
* Use ACPI_FAILURE() and ACPI_SUCCESS().
* Output exception strings in a few more places.
2003-11-03 18:07:10 +00:00
mycroft
b910c03a32
Clean up some messages:
...
* Use AcpiFormatException() in a bunch of places.
* acpi_resource_parse() already prints an error, so don't do it in the callers.
2003-11-03 17:54:39 +00:00
mycroft
01558f7ee2
Clean up some messages:
...
* Use AcpiFormatException() in a bunch of places.
* acpi_resource_parse() already prints an error, so don't do it in the callers.
2003-11-03 17:24:22 +00:00
mycroft
72ae89b69a
Fix locking protocol, and use _GLK appropriately. From kochi, with some
...
modifications.
2003-11-03 17:23:38 +00:00
thorpej
05225cfc05
Add two new boot flags:
...
-x Boot with debugging messages (AB_DEBUG)
-z Boot silently (AB_SILENT)
2003-11-03 16:39:07 +00:00
cube
78677ac649
Regen.
2003-11-03 15:58:48 +00:00
cube
bda71e9e81
Add some IDs for the EPIA-M 10000 motherboard.
2003-11-03 15:57:46 +00:00
briggs
07a0e27c44
Revert the change in default value of ipv6_v6only. Further discussion
...
on this topic is required. It should be reintroduced and pursued in
the IETF.
2003-11-03 15:12:06 +00:00
briggs
953bcec0ab
ifmedia_set() should not panic, nor can it really fail. So if there is
...
some problem setting the media to the requested value (usually IFM_AUTO),
we now force the media selection to IFM_NONE.
This addresses PR/14029 ``panic("ifmedia_set") a little too brutal''
and may address to some degree PR/19504 and PR/23341.
2003-11-03 14:43:32 +00:00
kochi
84795bd3fd
* now the size of ACPI_DEVICE_INFO is variable:
...
it can now accomodate multiple _CIDs
sizeof(ACPI_DEVICE_INFO) should not be used
* make ad_devinfo member in acpi_devnode a pointer
* implement acpi_match_hid() to simplify matching devices;
_CIDs are also taken into account now as well as _HID
2003-11-03 06:03:47 +00:00
mycroft
21978e6e0a
Add another item, and some comments on particular machines affected.
2003-11-03 05:41:06 +00:00
yamt
933834a7ae
revert rev.1.70 as it was not needed.
...
uvm_map_lookup_entry() should handle addresses out of the map.
2003-11-03 04:39:11 +00:00
yamt
efe5d5c154
make lint happy.
2003-11-03 04:20:28 +00:00
yamt
c8d12c1c35
retire PG_ZERO zero-fill checks. uvm_pagefree now check it for us.
2003-11-03 04:02:13 +00:00
yamt
70538d0c22
add a DEBUG check if freed PG_ZERO pages are really zero-filled.
2003-11-03 03:58:28 +00:00
ichiro
8b115395c7
Fix uninitialized variable warnings
2003-11-03 03:05:25 +00:00
he
20a53a5841
Fix uninitialized error in pcib_print().
2003-11-02 22:03:42 +00:00
scw
b9d5da7eda
The expansion bus is mapped via ixpsip now.
2003-11-02 21:27:51 +00:00
scw
e9cd075343
It makes more sense to map the expansion bus registers in ixpsip
...
instead of the pci bridge driver.
2003-11-02 21:24:39 +00:00
scw
21f388f6e0
Add generic read/write region 1 ops.
2003-11-02 21:20:32 +00:00
mycroft
d94e36f311
Add another one.
2003-11-02 19:42:03 +00:00
matt
0c6f824d5a
Fix LP64 bug.
2003-11-02 18:29:46 +00:00