drochner
dc86361844
remove the unused in6_ifindex2scopeid()
...
if at all, it works with site-local addresses whose fate is uncertain
to say the least
2005-02-01 15:29:23 +00:00
drochner
5d0cfbc9bd
sin6_scope_id maps to interface indices for link local addresses only!
...
(unlikely to be used with other scopes for now, but we should be
correct anyway)
2005-02-01 14:56:17 +00:00
martti
4f78b8bb7b
ipf 4.1.5
2005-02-01 14:35:40 +00:00
drochner
d6e66e178c
fix pasto from sigignore.3
2005-02-01 13:55:19 +00:00
christos
7706d160ef
Add missing (void) cast to printf return.
...
Prefer returning from main rather than calling exit.
2005-02-01 13:43:38 +00:00
wiz
1f875a68df
Give Dd the full month name as argument.
2005-02-01 13:39:43 +00:00
wiz
0c1ed68c30
Give Dd the full month names as argument.
2005-02-01 13:38:53 +00:00
christos
4f025fd3d0
Protect alarm(0) the same way we protected the other alarm calls.
...
From Dag-Erling Sm=F8rgrav
2005-02-01 13:20:25 +00:00
he
1c9ef2aa0a
Fix "unused local variable" warning/error if compiling without
...
bridge support by making variable declaration conditional. Found
while compiling for shark.
2005-02-01 12:56:30 +00:00
he
2a8a7aabd7
Fix "unused local variable" warning/error if compiling without
...
bridge support by making variable declaration conditional. Found
while compiling for shark.
2005-02-01 12:13:51 +00:00
gson
8de9537c69
Update printf format in debug printf to account for sample_rate now
...
being an unsigned int.
2005-02-01 12:07:58 +00:00
daniel
760b46e0e9
Document PTHREAD_CONCURRENCY, ack by wiz@.
2005-02-01 11:38:27 +00:00
jmc
0a58d4b08d
Define LOGIN_NAME_MAX explicitly here and override any system provided one
...
since the compat tools need to use the NetBSD limits, not the local system
ones (and some systems don't provide this yet anyways). Fixes PR#29170
2005-02-01 05:26:03 +00:00
briggs
fabe87766d
Strip old "pm1" code. All PPC PMUs are "pm2" style. Two benefits:
...
* Cleans code up a bit, and
* Reduces the call stack for PMU interrupts.
2005-02-01 03:24:29 +00:00
briggs
969369e173
Remove one level of interrupt redirection by switching on the ADB
...
hardware type and registering a Cuda or PMU interrupt handler
specifically instead of an intermediate interrupt handler.
2005-02-01 03:08:16 +00:00
briggs
c5d6d91dc9
Clear all interrupts set by cuda. From Michael Lorenz.
2005-02-01 02:54:17 +00:00
briggs
da18d7cc5e
Add a PMU initialization call at ADB init time. This probes the machine
...
type for PMU / battery information, then uses that when getting battery
information for APM. Allows older PowerBooks (pre-smart batteries) to
function with apm enabled in the kernel. Thanks to Linux code for battery
information for these old batteries. Something is still odd, though,
because a charging battery can show > 100% when it's near to full charge.
Enable more interrupts from PMU and handle PB3400 card eject buttons
properly, too.
Also use #defines for commands instead of raw hex codes.
2005-02-01 02:46:00 +00:00
briggs
2fd848709f
Calculate and use seconds of power remaining for smart battery types.
2005-02-01 02:23:26 +00:00
briggs
66ca62ad71
Add some command definitions gleaned from Linux.
...
Add a field to pmu_battery_info to contain est. seconds of power remaining.
2005-02-01 02:22:31 +00:00
briggs
805b9387ef
ADB_HW_PB is really ADB_HW_PMU.
2005-02-01 02:05:10 +00:00
briggs
dba5409d0b
adb_direct.h contents are in adbvar.h. No need for duplication.
2005-02-01 02:03:01 +00:00
kim
3b8a48e530
Note added EtherIP support.
2005-02-01 01:24:00 +00:00
groo
83d3e13964
A hogshead is defined in the U.S. to be 63 gallons, and otherwise refers
...
to a volume unit of varying capacity (betwen 63 and 140(!)) gallons.
Since the U.S. is the only place it is defined, and I can find little
evidence to support the "barrel" definition, make it 63 gallons.
Like everything, this was prompted by the Simpsons.
"The metric system is a tool of the devil! My car gets 40 rods to the
hogshead, and that's the way I likes it!"
-- Abe Simpson
2005-02-01 01:08:10 +00:00
reinoud
e0c6307561
Reversal of patch done to clean up type usage in sys/scspi; due to problems i decided to undo it
2005-02-01 00:31:02 +00:00
reinoud
f323bc537c
Backing out changes to clean up scsipi. I was pointed out there were
...
problems i hadn't seen. To prevent lossage i'd decided to back off all
changes and let them be reviewed on tech-kern.
2005-02-01 00:19:34 +00:00
kim
c9f56c04dc
Add RFC 3378 EtherIP support, ported from OpenBSD to NetBSD by
...
Hans Rosenfeld (rosenfeld at grumpf.hope-2000.org)
This change makes it possible to add gif interfaces to bridges, which
will then send and receive IP protocol 97 packets. Packets are Ethernet
frames with an EtherIP header prepended.
2005-01-31 23:49:36 +00:00
christos
36eef77064
Revert part of previous [remove cd to objdir] and bump the crunchdate.
...
Make has been fixed. The cd was in the wrong place anyway, it should
immediately follow ${MAKE}, so it did not work as expected.
2005-01-31 23:48:38 +00:00
simonb
c9234f1972
Revert incorrect u_long->uint32_t conversion.
2005-01-31 23:46:33 +00:00
reinoud
4145e39ac7
Fix LP64 problems introduced by my u_long->uint32_t conversion.
2005-01-31 23:39:02 +00:00
reinoud
b220d67a3e
Part of the cleanup of sys/scsipi's use of types; rename all u_int* to
...
uint* and change the u_long's to uint32_t's where possible. Note that the
iocl definitions/hooks have to be ulong (or u_long) or they'll bomb out.
2005-01-31 23:06:41 +00:00
christos
6e40c9e6fb
PR/22559: Valeriy E. Ushakov: make -j can execute commands in wrong directory
...
(not in the obj dir).
Fixed by detecting when we cd, and cd'ing back.
2005-01-31 22:41:43 +00:00
hannken
c13136f43f
No longer needed. Ffs snapshots are enabled by default.
2005-01-31 22:21:17 +00:00
hannken
760e1d68b6
Note fssconfig(8) in last commit. From Hubert Feyrer.
2005-01-31 22:11:46 +00:00
hannken
372dee1a5d
Note file system internal snapshots.
2005-01-31 22:08:55 +00:00
reinoud
f93ea32254
As part of cleaning up sys/scsipi, replace all u_char by uint8_t and
...
replace all `short' with int16_t.
2005-01-31 21:13:16 +00:00
reinoud
6b6d77a575
Substitutereferences to u_char and u_short by the new uint8_t and uint16_t
...
types for unabigious storage references.
2005-01-31 20:25:54 +00:00
jkunz
1a54c65d22
Only a part of the PCI memory space is mapped via BAT registers in machdep.c.
...
Depending on where the firmware relocated the OpenPIC register window it may
be unmapped causing a kernel panic early in bootup when the OpenPIC is
initialized. So take care of mapping it if it is outside the already mapped
region. As mapiodev() requires UVM move this initialization to cpu_startup().
2005-01-31 18:48:41 +00:00
jkunz
5d47a0a676
Disable use of BTLB mappings as BTLB handling is broken.
2005-01-31 18:22:24 +00:00
jkunz
e4bed1ee79
Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8).
2005-01-31 18:17:35 +00:00
jkunz
48f11129db
Import mfcpu() from OpenBSD, needed by power switch code.
2005-01-31 17:32:15 +00:00
fredb
4627df7dfc
Greg Oster just reminded me, I left out "vax".
2005-01-31 17:11:33 +00:00
hannken
9feea919e7
Add ffs file system snapshots.
2005-01-31 17:05:47 +00:00
hannken
a524d180e1
Regen.
2005-01-31 16:58:31 +00:00
hannken
d5fbb6936f
Add file system snapshots to kernel configs.
...
- Ffs internal snapshots get compiled in unconditionally.
- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.
Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
fredb
680ae8dc03
Sync with raid(4) regarding the architectures that support booting directly
...
from RAID 1, using language supplied by Anders Dinson in PR bin/29158, with
some additions by myself.
2005-01-31 16:42:15 +00:00
he
66369741ef
Move local variable declaration to variable declaration section at
...
top of function, and at least away from after active code within
a block. Fixes build problem with gcc 2 (for vax).
2005-01-31 14:18:08 +00:00
enami
4cc9b2f8f4
Fix parsing of $GZIP so that not to overrun the end of string.
...
Addesses PR#28779. Fix is slightly different that suggested in the PR
since it fails if $GZIP contains whitespace.
2005-01-31 09:11:49 +00:00
simonb
3d23624f78
Fix some ddb build problems. Problems pointed out by Nick Hudson.
2005-01-31 07:18:51 +00:00
joff
9ff2922f8d
o Add missing SGI wskbd type
...
o Add new MATRIXKP wskbd type
2005-01-31 06:24:08 +00:00
joff
564073f0d1
Add support for a 4x4 matrix keypad wskbd connected via the TS-7200 DIO header.
2005-01-31 06:12:35 +00:00