Commit Graph

111365 Commits

Author SHA1 Message Date
jmcneill
7b824e4df1 build fix: forgot to add sc_board to softc 2011-08-06 19:21:27 +00:00
rmind
39445b05bc - Rework uvm_anfree() into uvm_anon_freelst(), which always drops the lock.
- Free anons in uvm_anon_freelst() without lock held.
- Mechanic sync to unused loaning code.
2011-08-06 17:25:03 +00:00
jakllsch
ae79d560ec Marvell 88SE9128 needs AHCI_PCI_QUIRK_FORCE. 2011-08-06 14:56:33 +00:00
jakllsch
8479ccf118 regen 2011-08-06 14:55:13 +00:00
jakllsch
ce733e83e0 Add Marvell 88SE9128. 2011-08-06 14:53:24 +00:00
jakllsch
ad5352fa2f Adjust inconsistent whitespace in MARVELL products. 2011-08-06 14:51:53 +00:00
mbalmer
45572b8e3e re-gen. 2011-08-06 14:18:24 +00:00
mbalmer
8b941cbbb9 It's QUANCOM Electronic GmbH, not Quancm. 2011-08-06 14:17:23 +00:00
jruoho
a25d4403d3 Improve a comment. 2011-08-06 13:19:46 +00:00
jmcneill
fb8181e23e print devname not subdevname on attach, and report the board name to dtv
subsystem instead of generic CX23885
2011-08-06 11:51:11 +00:00
jmcneill
8f1ae23ff2 don't attach iic@coram unless CORAM_ATTACH_I2C is defined 2011-08-06 11:37:56 +00:00
hannken
7403908422 Fix the races of direct select()/poll():
- When sel_do_scan() restarts do a full initialization with selclear() so
  we start from an empty set without registered events.  Defer the
  evaluation of l_selret after selclear() and add the count of direct events
  to the count of events.

- For selscan()/pollscan() zero the output descriptors before we poll and
  for selscan() take the sc_lock before we change them.

- Change sel_setevents() to not count events already set.

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>

Should fix PR #44763 (select/poll direct-set optimization seems racy)
       and PR #45187 (select(2) sometimes doesn't wakeup)
2011-08-06 11:04:25 +00:00
mbalmer
d1912e7839 Do not not look for modules in the current working directory first. This is
to prevent from accidentally loading ./module.kmod when we actually wanted to
load module from the system module area.

To load a module from a filesystem path, the module name must contain at
least on path separator character (/), to load a module from the system
module areas, the name must not contain a path separator character:

modload ./mymod.kmod      # loads mymod.kmod from the curren directory
modload mymod             # loads mymod.kmod from the system module area
2011-08-06 08:11:09 +00:00
cliff
b38eb1f4b4 nuke pq3cfi_addr() and just use ga_addr; obio already sorts out getting
address from chip select reg when cs locator is used.
2011-08-06 05:48:01 +00:00
jruoho
adb8c21493 If both the new and the old methods are available, prefer the old ones, as
the new ones may not be functional in this case.
2011-08-06 05:03:56 +00:00
kiyohara
587ef94054 Add support for PSIONTEKLOGIX NETBOOK PRO. 2011-08-06 03:53:40 +00:00
kiyohara
bcc0383925 Support slave mode for PXA2x0 I2C. 2011-08-06 03:42:11 +00:00
jmcneill
9e56001113 hide debug messages under CORAM_DEBUG 2011-08-05 21:20:27 +00:00
jmcneill
013a9fdd5f hide debug messages under CX24227_DEBUG 2011-08-05 21:19:23 +00:00
jakllsch
97ec23c032 Various cleanup, mostly reducing debugging spew. 2011-08-05 20:51:09 +00:00
jmcneill
b2d4c3bb58 return status from demod instead of 0, and don't ignore errors when setting
demod parameters
2011-08-05 20:33:17 +00:00
jmcneill
752c6db679 add QAM64/256 support 2011-08-05 20:32:22 +00:00
jakllsch
704e16c17e Turns out all we need is AcpiClearEvent in the right place,
and we don't really care if it fails.  Pointed out by jmcneill.
2011-08-05 18:59:44 +00:00
jakllsch
aff0a6a01c As we add a handler for the ACPI fixed feature button events,
ensure they aren't going to trigger as soon as we enable interrupts,
furthermore ensure that the event is unmasked.
2011-08-05 18:27:48 +00:00
hannken
efc3d2ec25 When union_lookup() creates a shadow directory and nameiop is not LOOKUP
it has to restart the lookup to get the componentname right.

Fixes PR #44383 (an endless stream of whiteout and opaque dir problems ...)
2011-08-05 08:17:47 +00:00
hannken
40cf7e4cfa Make whiteouts work on rumpfs:
- On lookup it is ok to create if the name exists and is a whiteout
- When replacing a whiteout directory entry remove the whiteout first.
- Set UF_OPAQUE when creating a node in place of a whiteout.
2011-08-05 08:13:59 +00:00
mrg
59919ed806 relax an assert slightly, from jmcneill. 2011-08-05 02:29:53 +00:00
uwe
89e9839f44 Reword the comment about "millicode" nature of these functions and add
it to sdivsi3_i4i.S too.
2011-08-05 02:00:25 +00:00
uwe
41f19aa9d6 Reword the comment about "millicode" nature of these functions and add
it to sdivsi3.S too.

Remove !_KERNEL code left over from the days when we shared these
files with userland.

Use .L prefix for local label.
2011-08-05 01:59:39 +00:00
jmcneill
a1ac6a0eda Don't treat C2 states as C1 if the _CST package doesn't have an entry
for C1. ACPI mandates C1 so if it's not present in the _CST package use
the HLT method. Fixes all sorts of performance regressions on AMD CPUs.
2011-08-04 23:22:30 +00:00
jmcneill
9ee20799ca add mt2131, cx24227, and coram module glue 2011-08-04 22:26:07 +00:00
jmcneill
20accb5e39 modularize coram and add detach + childdet methods 2011-08-04 22:25:08 +00:00
jmcneill
22ade8bbb4 modularize cx24227 2011-08-04 22:24:45 +00:00
jmcneill
bc4ac1aee2 modularize mt2131 2011-08-04 22:24:29 +00:00
phx
fbcc784d3a Drop into ddb, when requested by ofwboot (-d option). 2011-08-04 20:02:48 +00:00
bouyer
0ef67b2899 Make sure to call xbdback_trampoline() at splbio() 2011-08-04 18:01:49 +00:00
rkujawa
f02273fb5e Add basic PCI support for amiga port.
Add missing bus_space(9) methods needed for MI PCI.
Add p5pb(4) - Phase5 PCI bridge driver (and the man page).
Add quirks table to zbus(4) - needed for p5pb.
Change approved by phx.
2011-08-04 17:48:50 +00:00
phx
6c25389836 Do not overwrite ukbd.h with NO_UKBD_DEVICE. 2011-08-04 15:07:04 +00:00
jakllsch
244c700761 Add coram(4). 2011-08-04 14:45:54 +00:00
jakllsch
733caf396e Add coram(4).
A driver for CX23885-based TV cards, such as the
Hauppauge WinTV HVR-1250 "Coram" board.

Currently only supports ATSC 8VSB reception.
2011-08-04 14:43:55 +00:00
uwe
ab79e8db68 For unsignad integer division gcc used to emit a call to __udivsi3
"millicode" function that uses compiler-private ABI.  Newer gcc uses
heavily tuned __udivsi3_i4i that is NOT compatible with __udivsi3
because it's expected to clobber different registers.  We don't want
to link the kernel against libgcc and we don't have resources to write
heavily tuned version ourselves, so clone __udivsi3 but adjust it to
conform to the __udivsi3_i4i clobber spec.

Ditto for signed division.

You can make gcc use old routines with -mdiv=call-div1 to avoid few
extra instructions to save/restore the right registers in the signed
division funcion.
2011-08-04 03:20:09 +00:00
jakllsch
28ae806329 regen 2011-08-04 02:32:58 +00:00
jakllsch
6734496fe7 Add Conexant CX23885 2011-08-04 02:31:37 +00:00
jakllsch
07f38b106d Add Conexant/Samsung CX24227/S5H1409 demodulator subroutines. 2011-08-04 01:48:34 +00:00
jakllsch
e3196c5439 Add subroutines to support Microtune MT2131 silicon tuner. 2011-08-04 01:45:37 +00:00
jakllsch
bd5bcd64f7 Fix machfb build on ports not based on powerpc or sparc. 2011-08-04 00:57:33 +00:00
he
469cff01d3 Bump SYMTAB_SPACE so that the contents fits again. 2011-08-03 22:19:31 +00:00
matt
22c9b287d1 Deal with RTMEMSIZE no longer being defined 2011-08-03 17:34:27 +00:00
matt
e99aca1b8b Add some defintions for SYSCTL_CFG0 2011-08-03 16:27:15 +00:00
matt
df230b318d Deal with RA_CONSOLE_EARLY a little more sanely 2011-08-03 16:26:53 +00:00