Commit Graph

175856 Commits

Author SHA1 Message Date
hauke b8c03f733b Fix warning about missing initializer that showed up in sparc64
builds, but, strangely enough, not in sparc builds.

Relevant for netbsd-{4,5} release branches.
2008-12-11 15:50:35 +00:00
vanhu a75f34b133 Fixed compilation on FreeBSD (RTM_IFINFO and RTM_OIFINFO stuff) 2008-12-11 15:45:24 +00:00
wiz 9a202445ca Bump date for previous, improve wording a bit. 2008-12-11 15:44:23 +00:00
vanhu cffd15164d Fixed compilation when DPD support is disabled 2008-12-11 15:33:59 +00:00
nakayama 383cacb3c5 Revert previous.
This file is included after std.sparc64, so no need to include Atheros HAL
options in this file.
2008-12-11 15:11:57 +00:00
alc 26688c3395 Add HAL standard option and file list.
I forgot to `cvs add' them :).
2008-12-11 14:11:43 +00:00
mishka 43e91ff9f2 Import rc.d/httpd script for httpd(8) daemon control.
See rc.conf(5) for options explanation.
2008-12-11 13:55:16 +00:00
wiz 3ec1800aa0 Add RCS Id. Sort sections. Sort option descriptions. Use .Aq. Fix Dd argument. 2008-12-11 12:39:41 +00:00
roy aa75124521 Add the tabs utility, conforming to IEEE Std 1003.1 (``POSIX.1'').
Fixes PR bin/11227

No objection on tech-userland, ok: martin
2008-12-11 11:14:36 +00:00
wiz 5d7029bf64 Sort sections, sort SEE ALSO, remove trailing whitespace. 2008-12-11 09:07:46 +00:00
mrg 2c4ff71b65 also attach if the "compatible" property matches, as seen on sb2000. 2008-12-11 07:09:00 +00:00
alc a4c7f1185e Doh! What should have happened happens ...
Restore the check to see if the chip does MIC correctly when
WME is turned on. Btw, define IEEE80211_C_WME_TKIPMIC and fix build :/
2008-12-11 06:04:01 +00:00
alc 5d561f943e Sync ath(4) with the new HAL, mostly based on <jmcneill>'s patches.
Everything should be fine again !
2008-12-11 05:45:29 +00:00
alc 1c52cf4c6b Import config(9) file and register HAL's files in the build machinery. 2008-12-11 05:42:18 +00:00
alc b297f5e6b5 Import HAL's OS dependent code and config(9)'s interface header. 2008-12-11 05:37:40 +00:00
alc a9d4fb0bb4 Fix the build of the new HAL:
- constify link-set iterator
 - do RF lookup only if any RF has been built
 - fix global symbols shadowing
 - const static -> static const
 - don't redefine `uintptr_t'
 - use `unsigned long' in __DECONST()
 - fix AH_RF() macros
 - __va_list -> va_list
 - add missing struct trailing element
 - add a few #ifdef AH_DEBUG block to avoid empty if() statement
 - some other nits...
2008-12-11 05:30:29 +00:00
alc 31f44cb2ed Clean-up makefile stub used to include in the build the binary HAL object 2008-12-11 05:27:42 +00:00
alc 2a56be2e0d Delete the old binary Atheros HAL
Expect the tree to be broken in the next few minutes.
2008-12-11 05:24:49 +00:00
alc 1e10b93de9 Import Atheros HAL, from FreeBSD (revision 185521) 2008-12-11 04:46:22 +00:00
yamt 8277de5576 document "EXIT" pseudo signal. 2008-12-11 04:34:45 +00:00
yamt ad61a2c71e move a description of return values into the RETURN VALUES section. 2008-12-11 04:30:57 +00:00
snj 5a186cb789 Add netbsd-5, and note that 2.* has been terminated. 2008-12-11 02:25:26 +00:00
kenh 95793981bc The wrong sense of the UIP register is used to test for a pending clock
update; this test is now correct.

mc146818_settime_ymdhms has been refactored to simply stop clock updates
while the time is being set.  Based on FreeBSD code and macros in
mc146868reg.h.
2008-12-11 00:17:21 +00:00
alc 146b5c4e87 Add the __printflike(), __scanflike() and __format_arg() macros, from FreeBSD
They will be used soon by the Atheros HAL code, many other places can use them
to avoid GCC dependency.
2008-12-10 22:10:47 +00:00
pooka 7243af74cb Make non-mpsafe threads KERNEL_LOCK() before starting execution. 2008-12-10 18:47:01 +00:00
christos 15e362cca8 fix endif comment 2008-12-10 18:07:30 +00:00
christos 0bff293dd2 disable VMEM_DEBUG by default. 2008-12-10 17:32:32 +00:00
tsutsui f1f16fdb45 Prepare kernel_pmap_ptr as well as other m68k ports which have own pmap.c. 2008-12-10 17:13:53 +00:00
tsutsui cf4bdf5d25 Restore kernel_pmap_store declaration since it's still used by
most m68k ports in pmap_bootstrap.c.
2008-12-10 17:12:07 +00:00
christos 10fdeaec16 vmem_check_sanity is just too expensive for DEBUG. Enable it only for
VMEM_DEBUG.
2008-12-10 16:59:12 +00:00
joerg 7d8b9145a5 Ignore restrict in the contexts where const and volatile is allowed.
No validation for the use (e.g. that it is used on a pointer), but
enough to not stop valid C99 programs.
2008-12-10 16:12:39 +00:00
christos 453b04f5be fix PGTBL size detection on the intel 965GM. From Anon Ymous. 2008-12-10 15:48:49 +00:00
christos c900253da8 Martin says:
I had added a getaddrinfo()/getnameinfo() lookup to obtain an FQDN even
if gethostname() would return only the local part of the hostname.
I did not really consider that many systems do not have FQDNs and more
importantly that the calls introduce a high latency (timeout) when DNS
is not available.

On the other hand I do not (or no longer) think that using a non-FQDN is
such a big problem here. Those users/admins that do collect logs from
different hosts and want an FQDN should notice the problem quickly
enough and can easily fix it by correctly setting their hostname.
2008-12-10 15:20:04 +00:00
pooka 37e12a5643 Make kernel biglock recursecount volatile. 2008-12-10 14:55:25 +00:00
tsutsui 7ceeb68913 Account idepth in functions in locore.s that are registered in the
interrupt vector table so that we don't have to track all interrupt paths.
2008-12-10 14:19:02 +00:00
nakayama 2b44f16453 pci_make_tag:
- add assertion for checking spc_busnode initialization.
2008-12-10 12:53:49 +00:00
nakayama d0b5890006 Add initialization of spc_busmax and spc_busnode in sparc_pci_chipset. 2008-12-10 12:17:02 +00:00
pooka ee352f3d33 Make kernel_pmap_ptr a const. Requested by steve_martin. 2008-12-10 11:10:17 +00:00
martin 6a9af1aef4 Backout previous - Matt, you probably did a partial update and didn't
pick up the sys/uvm changes.
2008-12-10 09:35:02 +00:00
mrg 595a2e556e revert part of the previous. 2008-12-10 07:12:09 +00:00
mrg 99caaf2dd2 checkpoint my work-in-progress port of this driver.
it boots some way but will crash attaching rtc0.

known TODO items:
- figure out why BUS_SPACE_MAP_LINEAR mappings generate data errors
  (cause of the rtc issue)
- several interrupt issues
2008-12-10 05:56:22 +00:00
mrg e8f7f45249 import the original openbsd "schizo" PCI driver as found on US-III systems. 2008-12-10 05:26:27 +00:00
mrg 6f91da5c30 fix sparc64 build: provide pmap_kernel(), re-provide pmap_t.
fixes builds for my U60.
2008-12-10 04:23:11 +00:00
mrg 938a858117 clean up and use __func__ in sparc_bus_map() debug messages. 2008-12-10 03:36:22 +00:00
mrg 1d6b36aa0d ofpci_make_tag():
don't write PCI_COMMAND_STATUS_REG with
	PCI_COMMAND_(MEM|MASTER|IO)_ENABLE, or it in.
sparc_pci_childspace():
	move psycho.c:get_childspace() into pci_machdep.c but rename it
psycho_alloc_bus_tag():
	use M_ZERO
2008-12-10 03:31:51 +00:00
lukem 0fa62d4185 Fix dependencies for vi.info 2008-12-09 23:49:42 +00:00
bad f140528153 Document my fix to src/racoon/privsep.c for the SIG_IGN typo on 2008-12-04. 2008-12-09 23:28:08 +00:00
pooka 223c62813a In case of no _KERNEL_OPT, always define _PMAP_MAY_USE_PROM_CONSOLE 2008-12-09 23:05:25 +00:00
martin f915c7039b Get rid of get_maxctx() - it doesn't work on newer cpus and we will have
to find a better way for (some) sun4v machines - all sun4u use 13 bit
contexts anyway.
2008-12-09 21:01:02 +00:00
pooka a6139afb88 pmap_kernel() is syntactic sugar for kernel_pmap_ptr now. 2008-12-09 20:49:40 +00:00