cegger
4822727b65
make multicast working.
...
Diff from OpenBSD's if_age.c rev. 1.2.
2009-03-03 22:26:41 +00:00
mrg
dcd94c7684
enable FXPF_EXT_RFA the same way the cardbus frontend does.
2009-03-03 06:06:40 +00:00
haad
5b244085d8
Linear target has only 2 arguments in a params string not 9.
2009-03-01 23:17:39 +00:00
haad
f8faf523ec
Change comment and add description of line used to configure mirror device.
2009-03-01 23:16:51 +00:00
haad
f048f56f71
Add initial support for striping target, hardcode maximal number of stripes
...
to 2 for now. strategy routine must be written, for now only parsing and
support routines are available. This is work in progress code and should be
taken very carefully.
2009-03-01 23:15:56 +00:00
cegger
2352b93556
bzero -> memset per request from martin@
...
bcopy -> memcpy
XXX Would changing bcmp to memcpy be a functional change regarding its return value?
2009-03-01 13:44:54 +00:00
cegger
945fa6c58f
when nfe_attach() fails, free all resources including
...
interrupt map, interrupt handler and dma maps.
Also prevent call to bus_dmamap_destroy() when bus_dmamap_create() failed.
The nfe_free_* routines assume, the map pointers are NULL but they
are actually undefined. Make the assumption true by making them NULL
in the error path of bus_dmamap_create().
All together, this fixes crashes when nfe_attach() fails.
ok martin@
2009-03-01 13:34:10 +00:00
cegger
927cfb73c8
MCP79 supports JUMBO frames.
...
Information from Linux driver.
Patch presented on current-users@ http://mail-index.netbsd.org/current-users/2009/02/11/msg008037.html
2009-03-01 08:29:25 +00:00
oster
b39a5d4daa
Nuke a DIAGNOSTIC check that is no longer useful, even for DIAGNOSTIC.
2009-02-28 23:11:11 +00:00
oster
d7dbe2c6b8
It seems that some SCSI drivers can block while the spinlock on a given
...
disk queue is being held. Work around this by dropping the lock before
bdev_strategy(), and re-grabbing the lock afterwards. This is a
temporary measure until I get to gutting this queue locking code.
There has been some success with this in addressing PR#39993.
This patch is from Antti Kantee. Thanks!
2009-02-28 22:02:17 +00:00
jmcneill
74dd0aeee0
Change a confusing attach message; if the embedded controller was attached
...
via ECDT, we would print:
acpiec0 at acpi0 (EC, PHP0C09-0): ACPI Embedded Controller (disabled)
The embedded controller isn't actually disabled, but instead this driver
instance, so change the message to read:
acpiec0 at acpi0 (EC, PHP0C09-0): using acpiecdt0
2009-02-28 19:40:23 +00:00
schwarz
8167178188
correct entry for Lucent 0x5802 into 2-port USB Host Controller
2009-02-28 17:55:46 +00:00
jmcneill
4ca035a32b
Add proper Realtek ALC268 support. While we're here, fix a comment in
...
the ALC262 quirk section. Tested by Sean Davis on an Acer Aspire One.
2009-02-28 17:12:13 +00:00
msaitoh
95deb7702d
Fix the multicast hash bug on ICH9's wm.
...
Now we can catch ff02::9 on ICH9's wm.
2009-02-28 15:06:43 +00:00
tsutsui
13a1c5a155
Return EIO rather than getting an infinite loop in the nullcons read function
...
so that getty(8) against nullcons console fails properly.
Problem on Cobalt Qube2700 reported by Wolfgang Solfrank on port-cobalt.
2009-02-28 00:40:47 +00:00
dyoung
6e3de811e0
Use the right format specifiers to print the new struct timeval.
2009-02-27 23:13:32 +00:00
sborrill
7d02030263
Add support for 82574L (as found on Desktop CT adaptor) based on 82573 support.
2009-02-27 13:17:01 +00:00
mjf
c49f4c3690
Regen.
2009-02-26 19:17:01 +00:00
mjf
c1c5918fbb
Add Initio INIC-1622 SATA Controller.
2009-02-26 19:13:38 +00:00
jmcneill
079289a3e6
PR# port-i386/40143: Viewing an mpeg transport stream with mplayer causes crash
...
Not directly related to the PR but this bug was discovered while testing.
In azalia_stream_halt, invalidate the intr ptr to prevent a race condition
where azalia_stream_intr can jump off into lala land during stream shutdown.
2009-02-25 15:46:34 +00:00
jmcneill
72141a1696
Turn "bogus parameters" aprint_error into aprint_debug, and change the
...
message to say that the framebuffer was not configured by the firmware.
2009-02-23 23:45:56 +00:00
jdc
7262e977ee
Mimic cgsix memory corruption fix (bwtwo and cgthree wscons code is
...
based on cgsix). Original commit message:
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-23 22:44:27 +00:00
cegger
6ec3b632d5
when attach routine fails, also free DMA memory and interrupt mapping.
...
Diff from OpenBSD's if_age.c rev. 1.2.
ok cube@
2009-02-23 13:39:41 +00:00
cegger
b6d8a5c8fc
remove unused age_if_flags softc member
2009-02-23 07:33:58 +00:00
jmcneill
34c593f760
* Realtek ALC885: Use generic_mixer_autoinit/init_widget
...
* generic_mixer_create_virtual: if the front l/r DAC doesn't have a volume
capability, enumerate all peer widgets and search for a volume mixer
there.
2009-02-23 02:34:57 +00:00
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