simonb
f0b22f966f
Sprinkle some KNF. Still a bit more needed...
2006-07-11 00:18:04 +00:00
simonb
22cbf12aca
Remove some incorrect licencing goop.
2006-07-11 00:17:34 +00:00
simonb
a4c494b1d1
Remove some incorrect licencing goop.
2006-07-10 23:22:28 +00:00
simonb
52b60673ac
Update for timecounters (s/time.tv_sec/time_second/).
2006-07-10 23:20:43 +00:00
christos
358557d37b
fix some field names (Arnaud Lacombe)
2006-07-10 22:46:06 +00:00
christos
9dc3ec85f6
Fix gcc4 bogus initialization warnings from Arnaud Lacombe
2006-07-10 22:38:28 +00:00
xtraeme
d0e49918a6
Attach amdpm timer on AMD8111 too, as was suggested by Nicolas Joly.
2006-07-10 20:11:29 +00:00
christos
26115e2d37
PR/33968: Nicolas Joly: amdpm(4) timer, fix and AMD8111 support
...
Refactor the code to use different variable names to hold each conf register
and avoid reading/witing the conf space multiple times.
2006-07-10 20:03:42 +00:00
gdamore
d3788a855d
New psm driver for use on Ultrabook IIi. Right now it supports the power
...
button and lid switch. I will add environmentals (battery, etc.) later.
2006-07-10 17:54:08 +00:00
thorpej
55e8bbeb6e
Put appropriate prefixes on property names to reduce chances of name
...
collisions.
2006-07-10 16:28:44 +00:00
peter
b794520dcd
Wrap long lines, unwrap a short line.
2006-07-10 15:37:26 +00:00
peter
fac34f3d31
Moves the PF_GENERATED m_tag to the new packet in icmp_error.
...
This is needed because the pf code can call icmp_error with setting
this tag, but the new packet should not be filtered when it comes back
to pf(4).
ok christos@
2006-07-10 15:35:39 +00:00
fvdl
64d1b810eb
kern/33961: add kgdb support and remove some redundant (and incorrect) register
...
offset definitions from reg.h
2006-07-10 13:09:47 +00:00
freza
75998ff7ee
Fix recent ibm4xx/intr.c rework:
...
- Recalculate masks _after_ new interrupt handler is enqueued, otherwise
the very last one won't ever be enabled (from hannken@)
- We can't use splhigh() to protect intr_calculatemasks() since it would
use soon-to-be-invalid mask. Instead, fiddle PSL_EE directly as we do
in other places.
Reviewed and tested (evbppc/explora) by hannken@
2006-07-10 12:52:13 +00:00
fvdl
6bde80fce7
Do not try to disable link devices (using _DIS) at startup. This causes
...
problems on some systems. Leave the code commented out, we might want
to revisit this at some point in the future.
2006-07-10 09:18:36 +00:00
christos
d957913795
Fix a bit of debugging code (from Arnaud Lacombe)
2006-07-09 21:31:40 +00:00
christos
bb97a3d660
url for M$ file changed.
2006-07-09 19:25:18 +00:00
mlelstv
8261b32756
move and renumber bthub major to avoid conflicts with other archs
2006-07-09 18:56:35 +00:00
manu
2e26811b6b
If the user process requests a non null timeout, make sure we do not turn
...
it into an infinite timeout because of a conversion
2006-07-09 18:51:28 +00:00
drochner
bf84051422
some fixes for removable media (USB floppies in particular):
...
-allow to open RAW_PART, even if readdisklabel() doesn't like what it sees
-fix PERIPH_MEDIA_LOADED toggling on every other open attempt
-Don't reset PERIPH_REMOVABLE if prevent/allow fails - this is normal
for floppy drives. The flag is required for media change detection.
Honour XS_CTL_SILENT for the "no door lock" printouts, and set that flag
where scsipi_prevent() is called during open/close.
Tested with a USB floppy and a USB cardreader.
2006-07-09 17:12:21 +00:00
he
22e14a460c
Add 8k more SYMTAB_SPACE so that it fits again.
2006-07-09 16:52:54 +00:00
peter
a93b4acd14
Nit: The silicon revision level is in bits 7:4, so we must right shift
...
by 4 bits. Also removed an unneeded include.
2006-07-09 14:47:30 +00:00
reinoud
b1b70c855b
Fixing a bad case of walking/writing out of allocated space.... the
...
allocated space was 2048 bytes, but when adding 1024 to the variable
`unix_name' to split the allocated space in half it effectively starts just
OUTSIDE the allocated space. This ought to fix memory corruption bugs when
using UDF.
This is a routine to revisit one day.
2006-07-09 13:58:47 +00:00
blymn
af4af92111
Fix behaviour of files with no signatures on exec.
2006-07-09 10:13:53 +00:00
christos
86c579f9d0
include files.apm
2006-07-09 06:22:32 +00:00
christos
cfa1686dee
include files.apm
2006-07-09 01:59:42 +00:00
christos
160a42523a
- Tidy up some debugging/diagnostic messages.
...
- Add a delay for the topic95b after we power on. It makes things work without
CBB_DEBUG on!
2006-07-08 23:02:55 +00:00
christos
4829e29205
remove INTRDEBUG
2006-07-08 21:23:38 +00:00
christos
10b8651771
remove functions we don't use
...
and adjust to the new prototype.
2006-07-08 20:30:57 +00:00
christos
eaa95b68b5
- apm.c -> apmbios.c and s/NAPM/NAPMBIOS/
...
- adjust to new function call signatures.
2006-07-08 20:30:00 +00:00
christos
1b36a60be8
Adjust to the new apm backend.
2006-07-08 20:28:06 +00:00
christos
3c00d4c7e1
expose the ioctl internal function now used by the acpi_apm code.
2006-07-08 20:26:06 +00:00
christos
4998e59f23
Add acpi apm attachment based on sysmon hooks.
2006-07-08 20:23:53 +00:00
christos
9ad7368bb4
Make apm an MI backend to be used by the i386 bios implementation and the
...
acpi implementation. Based on work by jmcneil.
2006-07-08 20:22:19 +00:00
christos
ff1066c12a
- all the polling code is stale and broken. Mention it.
...
- the topic95B bridge does not set CB_SOCKET_STAT_PWRCYCLE
- put back the delay code that was removed *again*.
This makes my libretto 100CT work again.
2006-07-08 20:20:27 +00:00
rpaulo
4e0b046439
Add a missing piece from RFC 3542. KAME-NetBSD-current branch
...
revision 1.1.1.2.2.5:
do not call pfctlinput2(PRC_MSGSIZE) on fragmentation to avoid
notification storm
From Keiichi SHIMA:
"In the current NetBSD code, the PRC_MSGSIZE message will be generated
for every fragmented packets when a node is trying to send a big
packet. That was the intermediate behavior while RFC3542 was under
discussion."
By (obviously) the KAME project.
2006-07-08 19:58:40 +00:00
tsutsui
79d3d94bff
KNF.
2006-07-08 18:32:53 +00:00
christos
1a9d8ea2c7
Fix use the proper ioh.
2006-07-08 18:19:01 +00:00
skrll
eb4039be03
KNF some comments and whitespace.
2006-07-08 16:24:08 +00:00
skrll
e5a112d805
Spelling in comments. No functional change.
2006-07-08 16:07:47 +00:00
kardel
b36308b48b
when adjusting the left over timeout value in selcommon()
...
do actually subtract the elapsed time instead of adding it.
2006-07-08 16:01:25 +00:00
kardel
e472b9091e
fix a bug reported by Steven M. Bellovin regarding oversleeping
...
select(2) timeouts. Introduced via timecounter branch from a
tvtohz() conversion.
The left over timeout was not decremented when re-starting
the sleep in select.
2006-07-08 12:16:09 +00:00
kardel
d788cc37f6
report true clock resolution based on the frequency information
...
from the underlying counter in clock_getres(). For frequencies
above 1GHz report a resolution if 1 nsec.
2006-07-08 12:10:33 +00:00
ross
dd8ab8abc4
add new split personality for ELF64
2006-07-08 06:36:42 +00:00
yamt
d9530c47ba
add DEBUG code to detect modifications on free memory.
2006-07-08 06:01:53 +00:00
yamt
7d19947ffd
make a multiple inclusion protection macro match with the filename.
2006-07-08 05:57:41 +00:00
yamt
85d844ab45
agr_ioctl: wrap a long line after kauth merge.
2006-07-08 05:56:48 +00:00
matt
46d05ada18
Don't bcopy to 0 because gcc4 doesn't like. Instead use a structure copy
...
to 0 to do the equivalent thing. XXX this is evil.
2006-07-08 00:27:30 +00:00
matt
c266c91b24
Reorganize pmap_extract so that *pap is always set to quash gcc4
...
uninitialized use warnings.
2006-07-08 00:26:21 +00:00
matt
08f6d0142a
Make GCC3/GCC4 happy with these asms.
2006-07-08 00:25:24 +00:00