Commit Graph

24779 Commits

Author SHA1 Message Date
briggs
9ee13eae71 According to the datasheet, temperatures on the LM75 are kept in
0.5 degC-precision the most-significant 9 bits of a 16-bit register.
Interpret them as such and simplify the conversion.
2009-01-09 17:20:31 +00:00
briggs
c43973de4b Provide a utility routine to configure/write the watchdog.
XXX This watchdog should eventually be integrated into the generic
    watchdog framework.
2009-01-09 16:09:43 +00:00
ahoka
805568190e Implement the required ioctls for running Xorg through /dev/ttyE0.
Reviewed by macallan@
2009-01-07 01:31:01 +00:00
jnemeth
f050d39171 regen 2009-01-07 00:40:51 +00:00
jnemeth
8c8c552278 fix typo in LUCENT ET1301 2009-01-07 00:40:09 +00:00
mrg
aab4d008e5 use the prom addresses except on MSIIEP.
this probably works on SB2000 now.
2009-01-06 04:04:55 +00:00
jakllsch
02513c1f9c Correct license. I have not formally contributed this to TNF.
However, ugensa.c was, so restore that licencse and append mine.

Also, use UT_*_VENDOR_INTERFACE instead of local defines of the same thing.
No functional change.
2009-01-05 17:22:18 +00:00
yamt
b1fea83762 remove extra semicolons. 2009-01-03 03:43:21 +00:00
haad
0e718155a1 Return ENOSYS during from dm_target_init routine these tow targets aren't
implemented yet.
2009-01-02 22:33:51 +00:00
briggs
bbc63cf490 Allocate enough space for the aac_pci_softc, not just the aac_softc. 2009-01-02 22:03:07 +00:00
jdc
ca92cdbafd Remove duplicated key symbol in UK keymap. 2009-01-02 13:09:36 +00:00
haad
2a2e81e0f1 Properly register dm_target_* modules with module framework. 2009-01-02 11:06:17 +00:00
haad
894d2ad3b7 Add stubs for mirror target, too. This target does nothing for now, but lvm
tools support mirror target and trying to create LV with mirrorred backend
caused panic in dm_table_load_ioctl.
2009-01-02 11:03:24 +00:00
haad
2547289caf Add more tasks and add more details about them. 2009-01-02 01:13:49 +00:00
haad
32013fd9f2 Add stripe target functions stubs. Stripe target must be present in dm driver
because without it lvm2tools will not create LVsi and eventualy panic system.

Problem reported by agc@.
2009-01-02 00:42:31 +00:00
jdc
79efdbb4ff Back out previous and clear the screen directly.
Pointed out by macallan@.
2009-01-01 13:53:07 +00:00
reinoud
339f5c5772 Add ISO partition detection enabling auto-detection of iso9660 and UDF
partitions on optical media like CD/DVD/BD but also on all other media if
there is no NetBSD disklabel or MBR label.

Also fix cd's readdisklabel arguments so the ioctl's arrive at the right
device (!) and update its default label to make more sense.
2008-12-30 19:38:36 +00:00
jmcneill
9f9ac957a5 Silence printf in common "device not found" error path. 2008-12-30 10:44:30 +00:00
pooka
13de128f76 Actually, revert previous - I doubt it would work with a non-rump kernel.
The filthy #ifdef _MODULE lives to stink another day.
2008-12-29 17:52:43 +00:00
pooka
7b9ae626a8 die filthy #ifdef _MODULE, die! 2008-12-29 17:47:08 +00:00
jdc
eebd19f78d On old chip revisions, clear the screen using rasops when attaching. 2008-12-29 14:42:15 +00:00
jdc
e3fc2b7c4b Clear the screen (via rasops) when attaching.
Pointed out by Bill Green on port-sparc.
2008-12-29 14:27:59 +00:00
mlelstv
0f2eef0070 fdcintr1 requires the mutex to be held. 2008-12-29 12:16:52 +00:00
jmcneill
63b42fed50 PR# port-i386/40284: add AMD Geode CS5536 audio driver; written by
SHIMIZU Ryo <ryo@nerv.org>
2008-12-28 15:16:24 +00:00
tsutsui
d88429017d Regen from miidevs rev 1.80:
> Fix a botched comment.
2008-12-27 10:39:04 +00:00
tsutsui
aa50416355 Fix a botched comment. 2008-12-27 10:38:15 +00:00
tsutsui
ff822508cf Regen from pcidevs rev 1.971:
> Fix tyop in previous.
2008-12-27 10:36:09 +00:00
tsutsui
62631acb1a Fix tyop in previous. 2008-12-27 10:35:08 +00:00
he
556cce3113 Follow up on the removal of MALLOC(), use malloc() instead. 2008-12-27 10:23:54 +00:00
jnemeth
5805e53b1d regen for et (Agere) driver 2008-12-27 09:05:22 +00:00
jnemeth
8cb5cf0f62 PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) netowrk driver 2008-12-27 09:03:32 +00:00
jnemeth
7436f169a9 regen for et (Agere) driver 2008-12-27 08:56:50 +00:00
jnemeth
5b59b2b26d PR/39094 - Kaspar Brand -- Add et (Agere ET1310/ET1301) netowrk driver 2008-12-27 08:55:35 +00:00
he
ecff12ce83 Sprinkle #if NTCTRL > 0 so that this builds again without
warning that some static function is defined but never used.
2008-12-26 22:37:29 +00:00
macallan
efb62a12dd move callout_init(sc->sc_tick_ch) before we're trying to callout_stop()
the ticker.
2008-12-26 18:51:19 +00:00
tsutsui
3cf9bfd3aa Set all default geometry parameters (not only secpercyl and secsize)
before readdisklabel(9) on DIOCGDINFO so that we can get correct
media size via the ioctl. (usually floppy doesn't have a real disklabel)

Tested on i386 with 1.44M floppy.
2008-12-24 16:56:28 +00:00
jmorse
b400d28c38 Fix UVC webcam output by:
- Storing updated video format after user changes format
- Round up number of xfers queued to multiple of 8, due to ehci inefficiencies
- Remove random debugging line I slipped in earlier
2008-12-23 03:22:29 +00:00
macallan
698f27a0ae make this compile again with NWSDISPLAY==0 2008-12-22 23:46:22 +00:00
blymn
215b203640 Pay more attention to the state of the RF kill switch, such as don't
bring the interface up when the RF is off.
2008-12-22 11:32:04 +00:00
haad
9401ff0b03 Remove DM_TABLE_DEPS it is not used in kernel driver and it breaks build
of libdevmapper because it clashes with DM_TABLE_DEPS from dm-ioctl.h.
2008-12-22 02:20:04 +00:00
haad
1016f02c61 Remove done task and add new one. 2008-12-22 02:18:53 +00:00
he
dfe654dcfc Follow up the removal of the MALLOC() macro, use malloc() instead. 2008-12-21 18:01:42 +00:00
nonaka
8025a0b1ce Add VT8237S Integrated SATA Controller support. 2008-12-21 16:27:57 +00:00
nonaka
0b52d4c69a Regen. 2008-12-21 16:25:28 +00:00
nonaka
77c888b6df Add VIA VT8237S Integrated SATA Controller ID. 2008-12-21 16:23:53 +00:00
haad
cca8fb31f9 Add support for loading dm targets as separate modules. All targets except
linear can be loaded as module. Module is not loaded when there is target
with similar name already. Zero and error targets aresimple examples how
can be all future targets written to support dynamic loading. Target can't
be unloaded until there is at least one user.
2008-12-21 00:59:39 +00:00
haad
38805eb14c Fix error path in target_init call. When initializing target fails i have
to release table before I try to destroy it and I haveto unbusy device, too.
2008-12-21 00:53:27 +00:00
oster
73225b15a5 When unconfiguring an array where a reconstruct is in progress, abort
the reconstruct and wait for IOs to drain before pulling the plug.

Should fix the panic reported by der Mouse on tech-kern.
2008-12-20 17:04:51 +00:00
cegger
dcf705893e use M_ZERO on malloc() and remove subsequent bzero(). 2008-12-19 18:49:37 +00:00
haad
78284dcaf1 Add infrastructure needed to load device-mapper targets as modules.
Targets wasn't converted yet and at least snapshot target will be converted
in a near future.
2008-12-19 16:30:41 +00:00