Commit Graph

104639 Commits

Author SHA1 Message Date
jakllsch
058c4e6e3b Add (non-IGP) AGP port support for Intel 82855GM.
agp_intel tested with radeondrm(4).  agp_i810 tested with i915drm(4).
2010-04-04 14:40:05 +00:00
jym
c4d1a64e49 Fix the comments about cpuid flags, according cpuid documentation by
Intel and AMD.
2010-04-03 23:17:05 +00:00
jruoho
a1264b7faf Only unregister the sensors if these were successfully installed;
sysmon_envsys_unregister() does not check for NULL pointers gracefully.
2010-04-03 17:54:24 +00:00
njoly
0876f873dd Move most clock_getres syscall code, except for coypout call, to a new
clock_getres1() function which can be used by emulations. Adjust all
clock_getres syscalls to now make of use it.
2010-04-03 17:20:05 +00:00
jruoho
7fe08819d5 Update the limits when a change from absent to present is detected. 2010-04-03 16:29:22 +00:00
pgoyette
7645fe957d If we're detaching the device, make sure we unregister the sensors. 2010-04-03 14:19:17 +00:00
pgoyette
cae66ef7cc When unregistering a device, in addition to reducing the global count
of sensors, we need to adjust the sme_fsensor values for some devices.
Failure to do this leaves a sparesly-populated number-space and can
subsequently result in overlapping sensors number assignments.  (This
only affects the compatability-mode API, but still needs to be fixed.)
2010-04-03 13:55:09 +00:00
skrll
ab3a2fd811 Wrap long line. 2010-04-03 08:01:42 +00:00
skrll
0be33f66cf Add md_astpending to struct mdlwp and use it. 2010-04-03 07:46:01 +00:00
tsutsui
55bc1f1a41 Use time_t (not long) to save time_second value. 2010-04-02 23:31:42 +00:00
jakllsch
216105d4cd regen 2010-04-02 20:34:10 +00:00
jakllsch
20b8a19c00 Add Intel 82855GM Host-AGP Bridge. 2010-04-02 20:32:15 +00:00
skrll
45b51608bd Per-cpu "physical" trap save area. 2010-04-02 19:33:16 +00:00
christos
46a93244b5 starttime needs to be time_t (Izumi Tsutsui) 2010-04-02 19:25:21 +00:00
martin
725f1afc58 Bump version 2010-04-02 18:41:52 +00:00
martin
9df6371983 Add support for /boot.cfg. Implement a single command for now: override
the boot partition, which will be used for bootable CDs. Add cd9660
support.
2010-04-02 18:39:44 +00:00
martin
d1f79d814d Add a bootinfo node to allow the loader to override the boot device 2010-04-02 18:34:16 +00:00
skrll
d61c3012a6 Pull across pmap_remove fix from OpenBSD.
Fix user-after-free bug in pmap_remove().  Page table pages are freed as soon
as the last page table entry that was actually used is cleared.  So make sure
we check the page table page is still there for every page we remove.
Otherwise we will bring back the tlb entry and cache lines when we touch the
freed page, and we will create an illegal alias (non-equivalent mapping)
as soon as the page gets re-used.
2010-04-02 15:25:51 +00:00
skrll
1e4b37e869 Change #ifdef DIAGNOSITC tests+panic to KASSERTs. 2010-04-02 15:24:18 +00:00
christos
8c20e0e884 fix debugging printf. 2010-04-02 14:11:18 +00:00
dyoung
da20ddcdb7 Delete ieee80211_setbasicrates(). It's buggy, and we drivers can get
along fine without it.
2010-04-02 03:46:50 +00:00
matt
ea2a1a3631 Change booke_intr.h to intr.h since <powerpc/booke/intr.h> will be unique
enough.
2010-04-01 18:59:27 +00:00
matt
bc7d3d1e06 OpenPIC register defintions used by e500 booke. 2010-04-01 18:58:12 +00:00
matt
0f77efaac1 Fix some TCR definitions. 2010-04-01 18:25:16 +00:00
tsutsui
6df9cedd56 Regen from GENERIC.in rev 1.85, HADES.in rev 1.10, and MILAN.in rev 1.24:
> Add support for the EtherNEC.
2010-04-01 17:10:06 +00:00
tsutsui
901a864f9d Add support for the EtherNEC.
The EtherNEC is yet another user designed device for Atari machines,
an NE2000 based ISA board connected to Atari's ROM cartridge slot with
simple but ingenious interface and cartridge port adapter, and
it's the most available network solution for the old Atari machines.

See following pages for more details about EtherNEC:
http://hardware.atari.org/ether/
http://home.arcor.de/thomas.redelberger/prj/atari/etherne/
http://www.freemint.org/ethernec/ethernec.html
2010-04-01 17:07:51 +00:00
tls
4e0229021b Oops. Fix LOCKDEBUG panic -- and spurious calls to tcp_output()! -- in
previous.  Be careful with that {}, Eugene.
2010-04-01 14:31:51 +00:00
skrll
d18a3c623f Whitespace. 2010-04-01 12:21:41 +00:00
pgoyette
6d6a30996f Permit creation of an event-monitor for alarm limits even if the limits
are not currently set (and, in case of battery capacity sensors, if there
is no value_max).  Ensure that such an event-monitor does not trigger the
delivery of any actual events.

Provide a mechanism for sensors to set their limits at time other than
system startup (for example, when a battery is inserted).

This allows us to boot a system with a battery missing, install the
battery some time later, and automatically monitor it without requiring
any user intervention to create the event-monitor.  (The actual changes
for battery sensors to use this new capability will come later.)
2010-04-01 12:16:14 +00:00
skrll
d84df75486 Small simplification 2010-04-01 12:09:39 +00:00
dyoung
fe84f32506 Cosmetic: join a couple of lines. Stop storing the value of a BAR in a
temporary variable with the name 'csr'.
2010-04-01 05:58:52 +00:00
macallan
2e75e5a699 don't divide by zero. ever. 2010-04-01 05:26:48 +00:00
macallan
a6ad2de3be add some more ADM1031 support:
- additional temperature and fan speed sensors work now
- limits on should work on all temperature sensors
Controlling fan behaviour doesn't work yet, the ADM1031 uses the same
register for both fans which doesn't quite fit with the way the dbcool
driver works.
2010-04-01 04:29:35 +00:00
jakllsch
624dd7e525 Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.
2010-04-01 04:04:11 +00:00
tls
04c7bc4215 As suggested by at least 3 different people (the guilty parties know who
they are) avoid repeated kernel_lock/unlock by using an intrq on the stack.

About 5%-10% better from run to run, on my *very* simpleminded test.  Can't
possibly be worse.
2010-04-01 01:23:32 +00:00
msaitoh
a4297d912f Fix the code for 5822 B0 errata. Use pci_conf_read() and access at
32bit alignment.
2010-04-01 01:11:53 +00:00
tls
994b02bdbe After discussion with ad@: it appears that KERNEL_LOCK also protects
the driver output path (that is, ifp->if_output()).  In the case of
entry through the socket code, we are fine, because pru_usrreq takes
KERNEL_LOCK.  However, there are a few other ways to cause output
which require protection:

	1) direct calls to tcp_output() in tcp_input()
	2) fast-forwarding code (ip_flow) -- protected elsewise
	   against itself by the softnet lock.
	3) *Possibly* the ARP code.  I have currently persuaded
	   myself that it is safe because of how it's called.
	4) Possibly the ICMP code.

This change addresses #1 and #2.
2010-04-01 00:24:41 +00:00
macallan
87ba095012 remove a now useless bus_space_barrier() 2010-03-31 21:01:03 +00:00
ad
78f9946c6b Fix copyrights. 2010-03-31 19:59:39 +00:00
ad
7a8df643c4 KNF FTW 2010-03-31 19:07:32 +00:00
pooka
d1c9da6dac Create kern.hostname sysctl node. Using init_sysctl.c for creating
the nodes requires some weeding, so don't try to use it yet.
2010-03-31 18:56:07 +00:00
macallan
ab2f46a1d0 Add preliminary support for the ADM1031 found in the Sun Blade 2500 and similar
machines. For now we treat it like an ADM1030 - the only difference is the
device ID and a few previously reserved registers.
2010-03-31 18:07:13 +00:00
skrll
944fd2cfc4 2 RCSIDs are enough for anyone. 2010-03-31 17:46:21 +00:00
pooka
9e9ab330be support kernfs 2010-03-31 14:18:33 +00:00
tsutsui
8f232399f0 Misc KNF and cosmetics. 2010-03-31 14:12:55 +00:00
pooka
1b840b2df1 separate vfs-like components from actual drivers
(no functional change)
2010-03-31 14:12:33 +00:00
pooka
59e540bbd0 We don't have a real rootdev (by default at least), so set it to NODEV. 2010-03-31 14:08:33 +00:00
tsutsui
9955f57940 ANSIfy, some KNF. 2010-03-31 13:15:52 +00:00
skrll
b47f9dd06a Make cpl, ipending, and intr_depth per CPU values. 2010-03-31 12:56:14 +00:00
pgoyette
b96bf61fb6 Now that fw_port.h is gone, we need to directly include <sys/select.h>
Fixes build break reported by myself.
2010-03-31 12:17:01 +00:00