cube
102a4f0ad3
I smell rotting code. (Give a chance to the user to at least set the flags
...
of the interface, if not use it because it otherwise doesn't work.)
2009-02-23 00:05:44 +00:00
pgoyette
7bcb9558e0
1. Reorganize code into memory-type-specific routines instead of multiple
...
monstrous if-then-else-if constructs.
2. Display module capacity in GB if it is at least 1GB.
3. Indicate if a memory module is "registered".
4. For DDR3, indicate if a temp-sensor is present.
Inspired by similar changes in OpenBSD's spdmem(4).
2009-02-22 17:28:50 +00:00
nakayama
c99ea852e4
- fix copyout size in CLOCKCTL_O?ADJTIME.
...
- add missing break in CLOCKCTL_NTP_ADJTIME.
2009-02-22 13:06:58 +00:00
christos
d43c4580f1
s/long/intptr_t/
2009-02-21 17:24:47 +00:00
martin
ff1d9de353
Include wsdisplay.h directly in the header to avoid different sizes
...
of cgsix_softc depending on proper previous includes by the includer
due to #ifdef NWSDISPLAY. Thanks to kmem poison check and DEBUG kernels.
2009-02-20 22:55:26 +00:00
haad
e654dd3da2
Call dm_target_busy only on properly autoloaded module.
2009-02-20 11:14:11 +00:00
haad
9629be83bf
Release tables before we drop reference on device, now creating device with
...
nonexistent target fails and not ends with deadlock.
2009-02-20 11:12:30 +00:00
dogcow
f2437436f6
sparc complains "cast to pointer from integer of different size"; cast the
...
int to (void *)(long).
2009-02-20 08:04:15 +00:00
mrg
ce8a6e2599
- remove FXPF_IPCB flag. it should always/only be used with the code
...
conditional on FXPF_EXT_TXCB, so, replace all uses with that
- for the pci frontend, reestablish some flags lost the the prior
changes and simplify one of the cases
this fixes PR 40677 and may fix PR 40431.
2009-02-20 05:49:34 +00:00
jmcneill
90c7459808
If the bus glue provides an ioctl handler, don't return before we have a
...
chance to perform generic handling in the WSDISPLAYIO_SMODE case.
ok macallan
2009-02-20 00:08:00 +00:00
haad
d624725a46
In NetBSD our target modules are called with prefix dm_target_. Add this
...
prefix to target module name when loading module, lvm2tools uses linux
target names e.g. zero not dm_target_zero.
2009-02-19 23:20:27 +00:00
haad
17599f37f3
Add support for autoloading of device-mapper targets modules. Add
...
dm_target_autoload function which tries to load target module. Fix two
deadlocks in dm_table_load_ioctl error path(I forgot to call dm_dev_unbusy).
2009-02-19 23:07:32 +00:00
sborrill
d297edd948
Regen
2009-02-19 17:26:21 +00:00
sborrill
73ab5cd89f
Add Intel i82574L 1000baseT Ethernet as used in Pro/1000 CT Desktop adapter
2009-02-19 17:25:46 +00:00
markd
e985093766
Add missing break.
2009-02-19 05:58:37 +00:00
jmcneill
a53ec2987d
remove vesabios and vesafb
2009-02-19 00:55:48 +00:00
jmcneill
dc02b079e4
Remove vesafb-specific hacks.
2009-02-19 00:39:25 +00:00
mrg
f5e9e80946
simply the previous as suggested by enami:
...
- don't check args->tp, just let copyin() fail.
2009-02-18 17:57:11 +00:00
yamt
74ccc189c4
wsevent_copyout_events50: fix a bogus panic.
2009-02-18 13:20:02 +00:00
hira
b225d4fb77
- Rename filename of license.
...
- Correct filename in license (add missing prefix).
2009-02-18 10:51:17 +00:00
mrg
6e512790b1
clock_settime1() expects the struct timespec * to be in kernel space.
...
make it so.
fixes crashes seen on sparc64 systems with clockctl.
2009-02-18 05:17:56 +00:00
snj
3c510e6b43
s/portugese/portuguese/, spotted by Ari Constancio in PR misc/40202.
2009-02-18 04:17:44 +00:00
jmcneill
f11a7f3f4f
Revision 1.25 was unintentionally reverted in the previous commit, bring
...
it back.
2009-02-18 00:27:21 +00:00
jmcneill
60c3292c48
Use aprint_*
2009-02-17 20:35:35 +00:00
jmcneill
3bc515352f
Use kmem_alloc instead of malloc for shadowfb
2009-02-17 17:01:41 +00:00
jmcneill
c315121ad0
Cut the amount of spam from acpi devices in roughly half by printing
...
resources on the same line as autoconf messages. Things like:
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
become:
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
2009-02-17 12:46:01 +00:00
jmcneill
3c220ee07d
Use aprint_debug
2009-02-17 12:30:31 +00:00
jmcneill
28f60a7907
Print the physical address if available instead of a virtual address.
2009-02-17 02:41:11 +00:00
jmcneill
d994f000f0
Add clear-screen and cursor-row properties to allow genfb to persist
...
screen state from the MD console driver.
2009-02-17 02:19:33 +00:00
jmcneill
e04f5ff1b4
Provide callbacks so MD code can explicitly prevent genfb from matching;
...
works around vga/genfb deathmatches.
2009-02-16 22:24:40 +00:00
mlelstv
c94f3d9355
Don't release CCB twice. Found by code inspection.
2009-02-16 18:05:19 +00:00
cegger
0df426b492
make this compile w/o VLAN
2009-02-16 09:38:41 +00:00
cegger
add29455bf
fix media priorities:
...
IEEE 802.3 Annex 28B.3 specifies the following relative
priorities of the technologies supported by
802.3 Selector Field value:
1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T
Our drivers give 100BASE-T4 a higher priority than
100BASE-TX full duplex.
Fix this. This patch is based on changes in FreeBSD and OpenBSD.
Patch presented on tech-kern and tech-net:
http://mail-index.netbsd.org/tech-kern/2009/02/15/msg004397.html
http://mail-index.netbsd.org/tech-net/2009/02/15/msg001064.html
got no comments, no objections.
2009-02-16 08:00:42 +00:00
jmcneill
b16648eaeb
Only pull in genfb.h if _KERNEL_OPT is defined. Reported by Kurt Schreiner
2009-02-15 20:21:24 +00:00
jmcneill
2fa3d3184a
Use genfb_borrow; drm works with genfb now.
2009-02-15 18:42:20 +00:00
jmcneill
ec798a6e6c
Introduce genfb_ops genfb_borrow callback to allow the bus frontend to
...
lend mappings to drm.
2009-02-15 18:41:49 +00:00
jmcneill
a71612a2f8
Provide a stub genfb_cnattach for md code to call to give a hint to the
...
bus driver's match function to return a higher confidence (so it can
beat out vga(4), for example). genfb needs-flag so md code can determine
if the genfb driver is present.
2009-02-14 20:33:58 +00:00
perry
88e7f0dcf4
convert to ANSI function prototypes
2009-02-14 20:32:29 +00:00
jakllsch
78a7904557
Add USB_VENDOR_CYBERPOWER/USB_PRODUCT_CYBERPOWER_UPS to the HID blacklist.
...
This will allow Network UPS Tools to communicate with these UPSes via ugen(4).
2009-02-14 17:13:01 +00:00
jakllsch
5a819467a1
regen.
2009-02-14 17:03:33 +00:00
jakllsch
2c011568c9
Add CyberPower Systems, Inc. vendor ID, as well as one of their product IDs,
...
which is used in two (or more) models of UPS devices.
2009-02-14 17:01:23 +00:00
bjh21
a0263b80b8
I've just discovered config_found_ia(), which means that wskbd(4) and
...
wsmouse(4) can attach directly at arckbd(4) and I can dispose of the
ugly arcwsmouse(4) and arcwskbd(4) interpositions. Do that, and purge
them from the documentation as well.
2009-02-14 10:20:55 +00:00
bouyer
73920b4161
More printf format fixes.
2009-02-13 23:31:23 +00:00
apb
0cc72e51ac
Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
...
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
2009-02-13 22:41:00 +00:00
bouyer
e83cf7c074
Fix bus_addr_t/bus_size_t confusion
2009-02-13 22:39:37 +00:00
bouyer
1b21577543
Fix printf format after bus_size_t change
2009-02-13 22:39:10 +00:00
bouyer
651c78e5dd
Make sure PCI_COMMAND_MASTER_ENABLE is set in PCI_COMMAND_STATUS_REG.
2009-02-13 21:12:14 +00:00
bouyer
b48bdec72e
make iwi_alloc_tx_ring() prototype match function declaration (shows up when
...
bus_addr_t != bus_size_t). Fix cast for 64bit paddr_t on i386.
2009-02-13 21:11:47 +00:00
pgoyette
c46760325c
Fix dmesg output:
...
Old:
piixpm0 at pci0 dev 20 function 0
piixpm0: ATI Technologies SB600/SB700/SB800 SMBus Controller (rev. 0x13)
piixpm0: interrupting at SMIpiixpm0: polling
New:
piixpm0 at pci0 dev 20 function 0
piixpm0: ATI Technologies SB600/SB700/SB800 SMBus Controller (rev. 0x13)
piixpm0: interrupting at SMI, polling
Cosmetic change only, no functional changes intended.
2009-02-13 19:19:52 +00:00
abs
82eae5f5e8
avoid long/unsigned long printf warning on some platforms
2009-02-13 01:38:32 +00:00