Commit Graph

147837 Commits

Author SHA1 Message Date
rillig
2e91b4b8d5 The shell variable $@ should never be used without surrounding "quotes". 2006-06-09 10:11:44 +00:00
elad
2df93916c9 add KPI 2006-06-09 07:07:28 +00:00
dogcow
82f4871f70 As pointed out by Izumi and Tsutsui and Valeriy Ushakov, these should
properly be .ad. files, not .md. files.
2006-06-09 03:14:54 +00:00
garbled
76847dcb92 Completely rework how we look up PCI interrupts on prep:
1) Rather than build an array of the pci->intr mappings, build a proplib
tree.
2) add a SIMPLEQ of device properties to the pci_chipset_tag to hold the
proplib trees of each bus.
3) Move the interrupt routing code from pci_conf_interrupt to pci_map_intr()
4) Deal properly with non-native PCI bridge chips that are not recognized
by the prep firmware, and therefore are not noted in the residual data.

The major win of this restructure is #4. Hopefully I haven't broken
anything. Tested on a 7248-100, 7043-140 and 7024-E20.
2006-06-09 01:19:10 +00:00
nonaka
a1a022c748 Added more register define. 2006-06-08 23:27:47 +00:00
gdamore
c76dd4fa65 KNR->KNF. :-) 2006-06-08 22:47:26 +00:00
gdamore
ef3b8c3cc3 Print bus_addr_t using PRIx64 (casting to uint64_t), which fixes builds
on 32-bit sparc (which have 64-bit bus_addr_t, but only 32-bit pointers.)
2006-06-08 22:42:24 +00:00
hubertf
b6eda27950 Rename XEN kernel config files to be more consistent:
INSTALL_XEN3_U        -> INSTALL_XEN3_DOMU
  INSTALL_XENU          -> INSTALL_XEN2_DOMU
  XEN0                  -> XEN2_DOM0
  XEN3_U                -> XEN3_DOMU
  XENU                  -> XEN2_DOMU

OK'd by bouyer@
2006-06-08 22:17:07 +00:00
simonb
a4052de411 Use PRId64 instead of a cast to long long and %lld to print an int64_t. 2006-06-08 21:08:56 +00:00
simonb
dfeb2fa259 Unwrap a not-too-long line. 2006-06-08 21:04:16 +00:00
simonb
b93b04bf77 Sort the obsolete rc.conf(5) variables to check, and only check
sysctl once(!).
2006-06-08 20:58:38 +00:00
rpaulo
69ae4b1781 Bring the following change from OpenBSD:
Keep track of the average RSSI using an Exponential Moving Average (EMA).
  Use it to dynamically tune radio receive sensitivity.

  The idea is simple:
  - increase sensitivity when the RSSI is bad to optimize throughput on
    long distance to the AP, and
  - decrease sensitivity when the RSSI is good to reduce noise level and
    optimize throughput on short distance to the AP

  The EMA allows to smooth RSSI variations so we don't end up changing the
  sensitivity too frequently.  We check if it would be worth updating the
  sensitivity every one second.
  RSSI thresholds were taken from the Ralink Tech. Linux driver.
2006-06-08 20:56:41 +00:00
martin
d8c7f94e0e Implement bus_space_*_stream_* methods for sgimips - so that we can use the
atheros wlan driver. Thanks to Izumi Tsutsui for lots of input. All errors,
as usualy, are mine though.
2006-06-08 19:29:16 +00:00
rjs
f001fdd86f Regen for Nokia CA42. 2006-06-08 17:57:14 +00:00
rjs
9ade422744 Add vendor id for Nokia.
Add product id for CA42 mobile phone cable.
2006-06-08 17:56:20 +00:00
drochner
698fb4fb6c make the public declaration of "hardclock_ticks" signed again; other
code (kernel timeout/callout) does comparisions with it
2006-06-08 17:23:11 +00:00
rpaulo
41eefa78ba Add cleandir and clean fake targets. I should find a better way to do this. 2006-06-08 15:22:03 +00:00
rpaulo
24ba5ad5fd Rename sta variable. Pointed out by Havard Eidnes and Juergen Hannken-Illjes. 2006-06-08 13:00:35 +00:00
tron
a7484bfcf0 Don't install "/etc/mail/aliases" if "MKPOSTFIX" is set to "no". 2006-06-08 11:05:31 +00:00
hannken
cbaa71d5f4 Add missing brace to make it compile again. 2006-06-08 10:56:49 +00:00
he
1c9b35c668 Bump boot file system size from 4 to 5MB. 2006-06-08 08:40:39 +00:00
he
bc5f506d49 Get rid of another instance of an lvalue cast. 2006-06-08 08:18:13 +00:00
kardel
0efb7c008e unify time stamp format so that web extraction tools can cope 2006-06-08 07:23:50 +00:00
he
6f8829a0d2 Get rid of lvalue casts by either using an extra temporary variable
or by using the appropriate casts in the first place.
2006-06-08 07:03:11 +00:00
gdamore
391d67720b Add support for AR5312 on-chip watchdog.
While we're here, fix mainbus so that mainbus doesn't complain about
unconfigured devices, and use the *atheros* mainbus instead of alchemy (doh!)
2006-06-08 06:15:59 +00:00
xtraeme
5ff5dfea17 Adapt to timecounters. 2006-06-08 05:00:25 +00:00
freza
a88dd66a11 Advance queue indices properly instead of silently rewriting
sysmon_power_event_queue[0] all the time.

OK by thorpej@
2006-06-08 04:23:34 +00:00
kent
08c434e746 add 23 ICH8 devices.
http://download.intel.com/design/chipsets/specupdt/31305701.pdf

No regen follows because no one refers them.
2006-06-08 02:34:28 +00:00
rpaulo
e84fae1d86 Add a fake includes target. 2006-06-08 00:21:54 +00:00
rpaulo
459b040604 /libdata/firmware/ral/* 2006-06-08 00:15:09 +00:00
rpaulo
04a78127de /libdata/firmware/ral 2006-06-08 00:13:25 +00:00
rpaulo
7145d9ddba Descend into microcode. 2006-06-08 00:12:50 +00:00
christos
c946f0d4db fix timecounter fallout 2006-06-07 23:58:03 +00:00
rpaulo
943d263332 Descend into ral. 2006-06-07 23:30:17 +00:00
kardel
e11bb150ed avoid shadowing time while it still exists 2006-06-07 23:22:52 +00:00
kardel
d377d3f58a no timecounters yet - provide a local types.h 2006-06-07 22:45:21 +00:00
kardel
73fb5e8d65 document timecounters
branch simonb-timecounters terminated
2006-06-07 22:43:43 +00:00
kardel
9af3ab6763 add timecounter support (from branch simonb-timecounters) 2006-06-07 22:41:09 +00:00
kardel
09b51ec920 convert to timecounters (from branch simonb-timecounters) 2006-06-07 22:37:14 +00:00
kardel
de4337ab21 merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-06-07 22:33:33 +00:00
kardel
d3390a5a9b merge timecounter branch 2006-06-07 20:59:28 +00:00
kardel
75418af90c support timecounters (struct time gone, use time_second then) 2006-06-07 20:56:19 +00:00
rpaulo
95b0a57069 Definitions needed by subsequent Makefiles to install the firmware. 2006-06-07 19:54:04 +00:00
rpaulo
a484b73c46 Refactor this and use bsd.files.mk instead. 2006-06-07 19:52:49 +00:00
rpaulo
6fe7f65c21 Define proginstall (empty) and afterinstall (to install the firmware). 2006-06-07 19:14:37 +00:00
rpaulo
9a7119856d License from Ralink. 2006-06-07 18:58:27 +00:00
rpaulo
2e83915da9 Add variables for /libdata/firmware path. 2006-06-07 18:49:36 +00:00
rpaulo
f7625fc018 Update to the latest revision from OpenBSD. 2006-06-07 18:38:59 +00:00
smb
a5b05fc8d6 Increase the size of UMODEMIBUFSIZE and UMODEMOBUFSIZE. These are the
USB input and output buffer sizes; the previous values were fine for
dialup modems, but seriously limited the speed of some high-speed
wireless devices that appear to the system as a umodem.
2006-06-07 18:03:00 +00:00
gdamore
4aa924bc70 For cases where AH_REGOPS_FUNC is not defined, the bus tag is not defined.
In these cases, passing NULL for it solves a problem on AMD64 where the bus
tag is an integer rather than uintptr_t.  (I.e. fix the cast warning on
amd64.)
2006-06-07 17:07:33 +00:00