Commit Graph

155259 Commits

Author SHA1 Message Date
wiz 266bca7bda Sort sections, sort SEE ALSO. Use Rs/Re for citation.
Remove URL that points to a 404. Use HTML macros.
Comment out xrefs to mem(4) and acpiconf(8) since we do not have them.
2007-01-14 12:25:42 +00:00
jdc 7d6e7c5672 Apply the same UBC, data and stack limits that are applied to SUN4C to
SUN4 as well.

The data and stack limits are definitely needed, otherwise MI code will try
and map shared libraries in the 4/4c MMU hole.  The UBC limits may not be
necessary, but SUN4 machines are unlikely to have much larger amounts of
memory than this caters for (64Mb).

SUN4 machines will now boot userland with this change.

Thanks to martin@, mrg@ and uwe@ for hints while debugging this.
2007-01-14 11:19:44 +00:00
jdc 16ba0816c7 Don't check for reserved softintr slots on SUN4, as 4/300's have hardware
that uses the same levels.
2007-01-14 11:13:41 +00:00
is e3eaf1eeef Don't crash if firmware_open is called too early. 2007-01-14 10:56:34 +00:00
martin 73ebab4e1a The previous fix for PR 34202 was wrong (some sizeof used the union, not
the command block) - but instead of fixing this, we can now revert it
completley: the real fix has been applied to ../ic/wdc.c in rev. 1.244,
removing the alignement constraints.
2007-01-14 09:29:24 +00:00
martin 53f72a1474 If __NO_STRICT_ALIGNMENT is not defined, take special care to do PIO
transfers with proper alignement - this removes alignement restrictions
of the buffer pointer passed.
Thanks to bouyer, reinoud, jdc for helping with the code, and special
thanks to Dave Huang for testing.
2007-01-14 09:18:39 +00:00
martti e2f503f48a IPF 4.1.16 2007-01-14 08:46:45 +00:00
christos 747ed1f6b0 mention acpitools. 2007-01-14 06:56:58 +00:00
dogcow 7ac7d15dd5 Now compiles on amd64, mostly due to %llx -> %PRIx64, but also changing some
internal structures around. (yay for assuming that pointers can be held in
an int. bah.)

Not sure if it actually _works_ on amd64, but as the output on my i386
doesn't change pre/post-patching, that seems good enough for now.
2007-01-14 05:33:18 +00:00
christos 6cb99b54c6 add acpitools 2007-01-14 04:45:18 +00:00
christos 02dcb4ad58 only build on i386 and amd64. 2007-01-14 04:44:11 +00:00
christos 10866ba3f7 add acpitools 2007-01-14 04:39:34 +00:00
christos 53e202c131 Add acpitools 2007-01-14 04:36:13 +00:00
cube 0676a294c8 Use consistent option names (i.e., those that are defflag'd). Ok dyoung@. 2007-01-14 01:05:49 +00:00
jklos 7974dc0773 Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends don't
exist (and symlinks aren't acceptable in many instances).
2007-01-14 00:06:24 +00:00
christos c7295a4c51 - rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
can use err(3) and warn(3) to display errors instead of using inconsistent
  fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.
2007-01-13 23:47:36 +00:00
is 869fc5c107 SigmaTel FastIRda USB Bridges 2007-01-13 23:24:52 +00:00
joerg 7645663790 Unconditionally zero and free iproute. Before IPsec tunnel packets e.g.
from ICMP could end up in leaking the reference in iproute, as
ipsec4_output would overwrite the ro pointer in state.

Tested by Juraj Hercek and supposed to fix PR kern/35273 and kern/35318.
2007-01-13 23:13:46 +00:00
freza 9c3107d24d Remove SYSTEM_LD_TAIL_EXTRA definition since sys/conf/Makefile.kern.inc
already runs dbsym(8) if SYMTAB_SPACE option is defined for the kernel
in question.

OK uwe@
2007-01-13 22:53:54 +00:00
mrg c2fd3656ae - GCC 3.x is no longer in -current
- GCC 4.1-20070110 has been imported to -current.
2007-01-13 21:19:12 +00:00
cube 2f04b55c8c Make the IPKDB code compile. 2007-01-13 19:46:21 +00:00
cube 4096a1c345 The definition of bus_space_vaddr on i386 makes it inappropriate as the
first argument to memset(), so change the code very slightly to workaround
that.
2007-01-13 19:45:28 +00:00
cube aaf0bffcea Fix uninitialised warnings. All are false positives, except one which was
indeed real.
2007-01-13 19:43:20 +00:00
cube c7835953d1 Make it compile with all the options. 2007-01-13 19:41:12 +00:00
kardel 85272e875d use emalloc.c from the distribution for ntpd - default efuns don't make sense in daemons
reverts effect of usr.sbin/ntp/libntp/Makefile:1.9 for ntpd - restoring syslog functionality

discussed with christos@
2007-01-13 19:27:50 +00:00
cube c4a70d573e Not all archs have dma tags that can be compared with "==", so use memcmp
instead.
2007-01-13 19:03:49 +00:00
cube c27feae2a3 Make the logic of handling the options right. 2007-01-13 19:01:55 +00:00
cube 78cbf1e09d Work around false-positives for gcc's detection of use of uninitialised
variables.
2007-01-13 18:59:31 +00:00
christos 30760cbdc7 PR/35410: Valeriy E. Ushakov: /bin/sh mishandles shell function definitions
with function names that are not plain words
1. remove the escape annotations from the function name.
2. check if the function has a valid name before storing it.
2007-01-13 18:58:26 +00:00
cube 529a0e5bcd Complete initializer, and make it compile on (lesser?) archs that don't
have OpenFirmware.
2007-01-13 18:56:35 +00:00
cube 74166b9a93 Let this code handle const qualifiers correctly enough to compile. 2007-01-13 18:54:43 +00:00
cube d239f85ecf Properly define the domain, and #ifdef out the sysctl routine which does
nothing.
2007-01-13 18:52:04 +00:00
cube 22974bb68b Complete initializers, teach drivers that we moved from struct proc to
struct lwp, sprinkle some needed const qualifiers.
2007-01-13 18:46:37 +00:00
cube 4cdd8aada6 Complete initializers so those files compile. 2007-01-13 18:42:45 +00:00
cube c80c56c733 Complete the cons_init(n) initializer. 2007-01-13 18:39:35 +00:00
cube 5aa5bf0655 Include machine/specialreg.h, needed if IPKDB is selected. 2007-01-13 17:54:26 +00:00
isaki 7525ed1e40 Install <net/if_pflog.h>. 2007-01-13 14:13:53 +00:00
cbiere 555693c1aa - Applied patch from PR bin/35408 by Andreas Wiese.
- Use EXIT_FAILURE instead of 1.
 - Use return instead of exit() at the end of main().
 - Use sizeof() instead of BUFSIZ.
2007-01-13 11:51:59 +00:00
kardel 9e57eb45fe track ntp bug #760 - support DYNAMIC flags in async resolver 2007-01-13 11:41:05 +00:00
degroote b5fe9c67de Sync the wpi driver with the openbsd one. Thanks to Jean-Baptiste
Campesato for his work.
Fix PR/34463


ok dyoung@ joerg@
2007-01-13 09:39:06 +00:00
mrg b2d62876b4 regenerate these files via mknative.
XXX: gcc auto-host.h generation is still broken and turns off
XXX: gas "comdat" support.  i have not commited these files..
2007-01-13 09:26:59 +00:00
mrg 80ab5c909f fix the list of headers to check for on netbsd 2007-01-13 08:30:13 +00:00
hubertf b4df40b17b - ANSIfy
- Use return instead of exit() in main()
 - Use EXIT_{SUCCESS,FAILURE} constants instead of 0/1

No functional changes. Patch submitted in private mail by
Slava Semushin <slava.semushin@gmail.com>
2007-01-12 22:43:05 +00:00
cube 718ffd7615 Handle defopt lists properly, as ':=' syntax introduce an additional
element...  For that, introduce nvcat(nv1, nv2).
2007-01-12 21:49:51 +00:00
uwe b7d531ed9e Add options OFB_FAKE_VGA_FB (commented out).
XXX: Where's ofb(4)?  (hi, macallan!)
2007-01-12 21:24:40 +00:00
gdt 11343fbd1f Add a heuristic to set rbus_min_start based on total RAM. The new
behavior is to choose 0.5 GB for <= 192 MB, 1 GB normally, and 2 GB
for >= 1 GB.  This should make the defaults work additionally old
Thinkpad 600Es, and also on notebooks with lots of RAM (e.g. T60 with
2GB).

ok christos@
2007-01-12 20:34:09 +00:00
ad 151f7e0198 x86_pause(): do issue the 'pause' instruction, for EMT64 CPUs. 2007-01-12 20:22:04 +00:00
uwe 369020109e options<space><tab> police 2007-01-12 19:34:33 +00:00
cube e37986b806 Add missing initializers in cdevsw structs. 2007-01-12 19:33:21 +00:00
uwe c2f6157b26 Replace long list of "audio* at foo?" attachments with single
audio* at audiobus?
2007-01-12 19:30:35 +00:00