tv
0eddda9bff
I haven't touched the mknative stuff since 2002. Take my name off of the
...
readmes, so I'm not implied as a point of contact.
2006-02-17 17:34:30 +00:00
ginsbach
80194aa8a4
Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
...
too short. This conforms to RFC3493, POSIX and XPG6. [from KAME]
2006-02-17 15:58:26 +00:00
ginsbach
e0882f7342
Add EAI_OVERFLOW as specified in RFC3493, POSIX and XPG6.
2006-02-17 15:55:01 +00:00
he
1f315c6ab1
Paste in the conditional declaration of the pps_* extern variables
...
from kern_ntptime.c, so that this file can build under PPS_SYNC.
2006-02-17 15:44:17 +00:00
skrll
a105f8f3c9
Pull in my readelf fix from binutils-current for the new EF_SH* flags.
...
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
2006-02-17 13:14:25 +00:00
skrll
2165097856
Remove duplicate #include <sys/types.h>
2006-02-17 08:41:31 +00:00
skrll
221fe583b6
Match comment against #endif with #ifdef
2006-02-17 08:23:26 +00:00
skrll
6003e126de
Fix PR 32076 by using procfs to get details of the file when attaching
...
to a process.
Discussed (briefly) on tech-toolchain and OK'ed by thorpej.
2006-02-17 07:58:58 +00:00
wiz
c6871c6fe4
Fix typo.
2006-02-17 06:57:18 +00:00
wiz
3a118ff7be
Fix typo reported by Mathieu in PR 32846.
2006-02-17 06:56:15 +00:00
kochi
f172eb96ae
regen.
2006-02-17 04:34:00 +00:00
kochi
5f0ceef69b
Correct some existing device names (PCI bridges, ACPI buses) according
...
to the up-to-date specs (ACPI 3.0a/PCI Firmware spec 3.0).
Add some ACPI specific devices (ACPI000x).
2006-02-17 04:33:12 +00:00
christos
c975cdc86c
- s/notyet/WIDE_DOUBLE/
...
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
appropriately. the new gdtoa keeps a list of memory chunks allocated by
malloc(), and it must maintained properly by calling __freedtoa() on the
results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
instead of having it return wchar_t *.
This should fix the memory leaks people have been reporting (eg. in top etc.)
2006-02-16 23:26:19 +00:00
lukem
8c09644630
* The kernel's struct ccd_softc has extra structure members over the
...
userland version; provide another ccd global variable (ccd_softc_elemsize)
containing the kernel's size, and use that it ccdconfig(8) to convert the
kernel's ccd_softc into userland versions.
Fixes 'ccdconfig -g'.
* Use DISKUNIT() instead of home-grown cruft to determine the `N' of "ccdN".
Fixes 'ccdconfig -g ccd1'.
* Use (void *) instead of (char *) in the calls to kvm_read().
XXX: ccd could be converted from nlist to sysctl. "Someone else's yak shave".
2006-02-16 23:25:18 +00:00
agc
56abe96063
By popular request, modify the IQN to:
...
"iqn.1994-04.org.netbsd.iscsi-target"
2006-02-16 23:16:05 +00:00
christos
10416487f0
Don't malloc/free the swap pointer with each refresh! Do it only if the
...
number of swap devices change. Now (and with the kvm fixes) top does not
allocate/free memory on each refresh.
2006-02-16 20:50:57 +00:00
christos
0213791d0c
1. Eliminate some unnecessary to kvm_{m,re}alloc.
...
2. Don't malloc/free procbase/procbase2/lwpbase continuously. Keep track
of the size, and only do it if necessary.
3. Write a macro to malloc/realloc and set the size of members so that it
is done correctly. Previous open coded version in kvm_file.c always
set the length, which is incorrect.
4. Remove bogus check against INT_MAX.
5. use NULL to initialize pointers instead of 0.
2006-02-16 20:48:42 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
agc
ff442725b0
Update the default targets file to reflect the new syntax.
...
Don't try to be cute with magic values like "any" here, since the netmask
is probably more easily understood in "slash notation".
2006-02-16 19:30:57 +00:00
agc
b37fe4757b
Update the targets(5) manual page to reflect the new syntax.
2006-02-16 19:29:28 +00:00
tnozaki
f87e6eb1f0
make "locale -a" read locale.alias file.
2006-02-16 19:19:49 +00:00
agc
ec095879d4
Introduce a backwards compatible change to the targets configuration
...
file.
The new file specifies whether targets should be presented as readonly
or read-write.
If a target is marked as read-only, don't allow any writes to be made
to it.
Also, add syntax recognition of "any" and "all" in the netmask recognition
code.
2006-02-16 19:19:38 +00:00
macallan
6fa7cdbb77
also check child nodes when checking if we attach to what OF thinks is the
...
console since some Radeons ( and probably others ) can have more than one
display - in this case /chosen and ofb's node would mismatch.
2006-02-16 18:48:38 +00:00
thorpej
cb468f2eff
Remove the ugly algor_get_ethaddr() hack. We have a properties infrastructure
...
now, so use that to provide the Ethernet address of the built-in Ethernet.
XXX Still a little ugly in the tlp driver, but fixing that would require
XXX reworking the SROM usage in a broader sense.
While here, do the P4032 DMA window hack in device_register() as well.
2006-02-16 18:20:31 +00:00
jmmv
772e1db686
Adapt to some name changes in the tmpfs_node structure (to fix the build
...
under vax with gcc 2.95). Provided by he@.
2006-02-16 14:58:35 +00:00
jmmv
064fbe7e18
Do not use unnamed structures/unions without instances; they break the
...
build under vax because of gcc 2.95. Found by he@.
2006-02-16 14:57:50 +00:00
kochi
516a28bc31
including acpi_madt.h is not necessary
2006-02-16 10:56:58 +00:00
he
91afe2706a
Now that the libiberty config.h was made MD again, we need to instruct
...
the build of this (only done for old gcc, i.e. vax) to pick up the
config.h file from the new place.
2006-02-16 10:36:24 +00:00
kochi
8b4a469cbc
including acpi_madt.h is not necessary
2006-02-16 10:28:01 +00:00
kochi
9fca0c53be
define acpi_dbgr as static
2006-02-16 09:23:23 +00:00
kochi
7e7584688f
define phys_wakeup as static
2006-02-16 09:22:51 +00:00
kochi
fd13bfcc61
define acpi_intr_deferq as static
2006-02-16 09:22:16 +00:00
kochi
dd74d9277b
add some more Intel LPC controllers
2006-02-16 08:47:16 +00:00
kochi
e94d605ca4
regen.
2006-02-16 08:39:27 +00:00
kochi
2bf87ae55f
add two more ICH7-M LPC device ids from intel document
...
(Intel I/O Controller Hub 7 (ICH7) Family Specification Update)
2006-02-16 08:36:03 +00:00
kochi
92d51ace0f
prototypes don't need argument names
2006-02-16 06:19:26 +00:00
kochi
539e1b8f22
use ACPI_FAILURE() macro instead of directly check AE_OK
2006-02-16 06:18:59 +00:00
mhitch
dca4768842
Bad Jason! Fix interrupt event counter attach typo. Only the last interrupt
...
was getting an event counter, and none of the dec_6600 interrupts were
getting counted.
2006-02-16 04:48:50 +00:00
hubertf
6c1b4a6f6a
Add text requested by term (b) of
...
localsrc/legal/TheOpenGroup/TOG_LICENSE
2006-02-16 03:15:02 +00:00
macallan
0d73c74b90
default to a black on white console, with green kernel output
2006-02-16 02:18:50 +00:00
macallan
dfd5d19b24
bail out when trying to attach to something that's not the console.
...
Fixes problems with more than one graphics card. Since OF doesn't set up
any secondary graphics devices anyway we don't lose anything.
2006-02-16 02:15:29 +00:00
gdamore
e5312db1b0
Reenable PCI on DBAU1500. May still be useful for PIO devices. Comments
...
in the config are left intact, though.
Add a PMAP-driven bus_space for access to upper memory, instead of using
wired entries.
Convert aupci to use said bus_space -- no measured performance impact.
2006-02-16 01:55:17 +00:00
gdamore
2d31c1c18a
CPLD registers are 16-bits wide, not 32.
2006-02-16 01:52:57 +00:00
gdamore
982890b596
Add board reset logic.
2006-02-16 01:52:37 +00:00
gdamore
547601cc8e
Remove useless extra assignment.
2006-02-16 01:50:19 +00:00
rpaulo
1a5af035b5
PR 32848: Nicolas Joly: typo
2006-02-16 01:08:09 +00:00
gavan
7600be39ae
Compute the EEPROM checksum to determine the presence of valid EEPROM data.
...
If EEPROM data is invalid, allow a MD hook to supply EEPROM data instead.
2006-02-16 00:02:00 +00:00
dsl
4975ba94fa
Add some more .MAKE so that we don't run multiple parallel makes.
2006-02-15 21:59:08 +00:00
bouyer
5cd3d133bf
Use the class of the user, not then default class, when checking for
...
nologin and ignorelogin login.conf(5) capabilities.
2006-02-15 20:28:32 +00:00
tnozaki
1b24b76f6b
MB_CUR_MAX should be 2 when MODE_2BYTE flag set.
2006-02-15 19:50:27 +00:00