Commit Graph

97244 Commits

Author SHA1 Message Date
reinoud
3a0f6cde46 Implement powersave for ixpide(4). Tested it on an Asus IXP250 with IGP.
It seems to sleep and awake fine now without errors or warnings.
2008-11-04 16:05:29 +00:00
joerg
47066a311f Make x86 installation use tmpfs. 2008-11-04 14:21:39 +00:00
cegger
bae2482c7f regen. 2008-11-04 13:23:41 +00:00
cegger
982f9b9410 fix typo in previous: prodcut -> product 2008-11-04 13:22:29 +00:00
cegger
b8c4e4c3fe regen. 2008-11-04 12:30:54 +00:00
cegger
2fdc34ba95 add ATI RD790 and RD890 chipset ids 2008-11-04 12:30:07 +00:00
matt
631af3647b Just move the mutex ops into the DEV_MEM case. 2008-11-04 07:31:44 +00:00
matt
420b992a4b Use a mutex to control access DEV_MEM. 2008-11-04 07:21:24 +00:00
matt
2e462089c1 Protect some code with if (pg) { .. } 2008-11-04 07:10:01 +00:00
bjs
bedd1969ee Allow writing to register R300_VAP_PVS_WAITIDLE; allows
r300 driver to work with Mesa-7.2!
2008-11-04 02:26:44 +00:00
christos
b8b90de20c If ipmi failed to attach we would crash because we would end up using callouts
while cold. If cold, wait 10 times longer, and if we spinout fail instead of
trying to poll. Makes my machine boot again.
2008-11-03 22:44:42 +00:00
rjs
d2f451aa63 Use aprint_* instead of printf, device_t/softc split. 2008-11-03 15:13:16 +00:00
cegger
cbc3aa97ef unbreak previous. this change wasn't intended. 2008-11-03 12:33:08 +00:00
cegger
cfeb108e60 The functions called from ipmi_match use the DEVNAME macro. But the softc is allocated on the stack and the accessed sc_dev member is not initialized.
Initialize the sc_dev.dv_xname in ipmi_match, which is enough to make DEVNAME work. Finally this also allows the device_t/softc split.
2008-11-03 12:25:53 +00:00
cegger
3c17eae58b ipmi_match: remove one indentation level 2008-11-03 12:19:06 +00:00
tls
ccd72c0274 Remove include of useless i386/include/clock.h which broke builds on
other architectures.
2008-11-03 04:31:01 +00:00
hans
844d9a4743 call pmf_device_deregister in detach functions. requested by jmcneill. 2008-11-03 00:52:07 +00:00
hans
32ffdb16fe Add NULL pmf handlers. OK by cube. 2008-11-02 14:46:55 +00:00
reinoud
69f1577429 Introduce an extra state to wich all pushed ecclines are pushed on. This
extra state has a holding time in wich no writeouts will be done
effectively collecting more sectors before its even sheduled for writing.
2008-11-01 23:51:25 +00:00
hans
f8681c958c Initialize sc->sc_dev before using it, and use it as argument for the
interrupt handler. Makes this work again. OK by christos.
2008-11-01 20:31:26 +00:00
reinoud
e9d599f49d Explicitly set buffer's block numbers. Blocks were always read/written
correctly only the sheduling could go less than optimal.
2008-11-01 19:50:32 +00:00
hans
f86fa4502c Make the driver work (except for setting display brightness) on older
machines by removing the check for the CMOS method from thinkpad_match.
OK by jmcneill.
2008-11-01 19:22:25 +00:00
cliff
e88243d4c8 rip out some more brinngup debug cruft 2008-11-01 07:58:33 +00:00
cliff
84dc474c3c in initarm(), remove some bringup debug stuff, and clean up
progress markers; they are still useful for now.
in cpu_reboot() use Gemini Global Reset Control register to reboot system
geminiwdt_reboot() is no longer needed, removed.
2008-11-01 07:43:19 +00:00
wrstuden
ab61b53b27 Adjust the sleeps in lwpcache and lwpublk. Make them uninterruptable
for now. This will prevent signals from waking them. Adjust
exit_lwps() to explicitly add LW_SINTR to all of them, so that
the process exit code can wake them up.

This is needed as threads in both of these wait channels die once
they are woken. So they aren't interruptable in the typical sense.

I am now able to suspend & resume firefox successfully now.
2008-11-01 05:59:33 +00:00
christos
2a274197af - allocate 8 pointers on the stack to avoid stack overflow in nfs.
- make that 8 a constant
- remove bogus panic
2008-10-31 20:42:41 +00:00
christos
1c6aec2060 Import syslogd SoC project by Martin Schuette:
- new syslog protocol api syslogp(3) that supports structured data
	  and draft-rfc timestamps
	- reliable tcp connections with queueing
	- encrypted connections
2008-10-31 16:12:18 +00:00
reinoud
54977cd016 Clarify the dirhash locking protocol and remove unnessiary #ifdef DEBUG
flag.
2008-10-31 16:04:59 +00:00
reinoud
a2a624b32c Protect the dirhash_queue when purging hashed directories on memory
overflow situations.
2008-10-31 15:48:39 +00:00
cliff
87a4aaf787 in geminiwdt_attach, put watchdog device in known (disabled) state,
then register this driver with sysmon_wdog_register.
rip out temp debug stuff from bringup.
2008-10-31 15:29:14 +00:00
reinoud
afc9c8a1c7 Remove old KASSERTS that were commented out. Since the dirhash structure is
considered part of the vnode/*_node structure it sure has to be locked or
the code using it is playing russian roulette.
2008-10-31 15:13:55 +00:00
reinoud
4ea6ec31b8 Cleanup dirhash and make use of the standard hash32_strn() instead of the
handcrafted one.

Note it uses hash32_strn() since arguments can be passed from namei
arguments and thus don't have to be null terminated.
2008-10-31 15:01:12 +00:00
rmind
8f1873ea3b - Avoid the race with CPU online/offline state changes, when setting the
affinity (cpu_lock protects these operations now).
- Disallow setting of state of CPU to to offline, if there are bound LWPs,
  which have no CPU to migrate.
- Disallow setting of affinity for the LWP(s), if all CPUs in the dynamic
  CPU-set are offline.
- sched_setaffinity: fix invalid check of kcpuset_isset().
- Rename cpu_setonline() to cpu_setstate().

Should fix PR/39349.
2008-10-31 00:36:22 +00:00
matt
11582641c8 Welcome to 5.99.1! 2008-10-31 00:12:51 +00:00
rmind
1a7b9dcc69 No need to name arguments in function prototypes; and a bit of cosmetics. 2008-10-30 23:02:12 +00:00
cegger
21b01532c7 prepare for device_t/softc split, but actually don't do it: ipmi_match() wants to access sc_dev before we have chance to initialize it 2008-10-30 20:28:02 +00:00
joerg
77a5d43962 New assym.h dependency. 2008-10-30 20:07:01 +00:00
reinoud
a41684bca5 Remove old sysctl numbers not used anymore. 2008-10-30 17:19:18 +00:00
joerg
564d6ccca2 Fix indentation. 2008-10-30 17:03:09 +00:00
reinoud
37d31beb0d Prevent double inclusion of <sys/dirhash.h> header file 2008-10-30 16:50:03 +00:00
reinoud
d7a1bfe693 Make some variables static that ought to have been from the start. 2008-10-30 16:41:18 +00:00
tsutsui
1ad310ac6d - fix (commented out) SBLive! driver name; it's emuxki, not sbl
- add commented out audio* at audiobus? line
2008-10-30 16:27:15 +00:00
matt
64cf39e420 No need for md. 2008-10-30 16:25:22 +00:00
reinoud
02fc60fc46 Add sysctl's using CTL_CREATE to query and set the memory use of the
generic vfs dirhash code.
2008-10-30 16:17:53 +00:00
cliff
f548211cf6 add INSTALL configuration variant for GEMINI platform 2008-10-30 15:37:24 +00:00
cliff
4ec24833ec fix, use += when adint to SUBDIR list 2008-10-30 15:33:42 +00:00
nakayama
0b0fb12976 Add dependency on sysmon_envsys to admtemp. 2008-10-30 12:52:46 +00:00
nakayama
f62c51b2f4 Wrap more code specific to USE_BLOCK_STORE_LOAD. 2008-10-30 12:29:45 +00:00
darran
0e11c6bfd5 NetOctave NSP2000 driver, ported from FreeBSD and integrated with
opencrypto by CoyotePoint Systems.  The FreeBSD driver source was recently
made available by NBMK Encryption Technologies.

The port includes some currently unused code which implements kernel and
user space interfaces for the driver in FreeBSD.  These are left in at this
time to facilitate the port of these interface to NetBSD if they are of
interest.
2008-10-30 12:02:14 +00:00
cegger
2243bd9791 twiddle with headers: include what is really needed 2008-10-30 10:12:59 +00:00