kent
39140597bf
* generic_mixer_default()
...
set the default pin direction depending on the pin's device, not color
2006-06-13 14:38:01 +00:00
kent
32d7370ad8
ALC882:
...
- add usingdac and usingadc
- remove alc882_init_widget() because it has no effect any more
2006-06-13 14:29:21 +00:00
kent
8b818d700b
- always prints the codec index in dmesg
...
- add missing \n
2006-06-13 14:20:09 +00:00
christos
c037525f2c
Don't allocate > 1K on the stack
2006-06-13 02:39:11 +00:00
oster
8c090abdfc
Do the "don't allocate > 1K on the stack" thing for raidioctl().
2006-06-12 22:49:35 +00:00
christos
92d441e0ee
don't allocate > 1K on the stack.
2006-06-12 22:02:45 +00:00
christos
86c0f863d1
Don't allocate >1K on the stack.
2006-06-12 21:01:58 +00:00
kiyohara
19d35b3135
It necessary to mask to validate bits.
2006-06-12 16:07:33 +00:00
xtraeme
c731b8e426
* Improve description for all sensors.
...
* Fix some voltage values.
* Do not print rfact+data values for sensors without any returned data.
2006-06-11 18:15:17 +00:00
christos
1a4c395597
Don't free subdevs on normal completion. The detach code needs it.
2006-06-11 16:00:08 +00:00
kent
a2aa9135f1
codec-specific mixer initialization for Realtek ALC882
2006-06-11 15:16:41 +00:00
kent
ba5e551515
fix audio_format allocation for recording
2006-06-11 12:18:00 +00:00
kent
fa89e6f87e
support for multi-channel (>=3) recording with ALC880, ALC882, or STAC9221
2006-06-11 11:48:39 +00:00
bouyer
bdce881f0d
Add entry for "Moxa Technologies, SmartIO CP104-V2/PCI". From Gert Doering
...
in kern/33566.
2006-06-11 11:22:35 +00:00
kent
7d2bcc7299
* azalia_codec_init_vtbl()
...
recognize the name of AD1983
* generic_codec_find_dac()
check validity of a node in a connection list
* introduce MIXER_DELTA, and simplify the code with it
* codec-specific mixer initialization for STAC9220
2006-06-11 07:52:00 +00:00
kent
655c2002db
If the codec supports for modem, print that we support for no modem
...
explicitly.
2006-06-11 07:45:18 +00:00
msaitoh
bc1d1f7877
o i82573 doesn't support jumbo frame
...
o set PBA for i8257[123]
o set MULA when sc_type == i8257[123]
2006-06-10 14:26:52 +00:00
rpaulo
58459b2d06
KNF.
2006-06-10 12:29:39 +00:00
uebayasi
ee3581b772
KNF.
2006-06-10 08:11:47 +00:00
msaitoh
42a72ed2e5
fix compile error
2006-06-10 08:08:33 +00:00
msaitoh
ca1810089d
Enable i82573!!!
...
TODO:
add some code for FLASH
fix phy stuff
2006-06-10 08:04:08 +00:00
msaitoh
ccf7001ac2
fix TX_COLLISION_DISTANCE_FDX and TX_COLLISION_DISTANCE_HDX (swapped).
...
add some register definitions (EERD, EEWR).
2006-06-10 08:01:31 +00:00
christos
f6ad6a2699
stack police: Fix the biggest offender with ~4K stack, by allocating the
...
buffer in the softc.
2006-06-09 21:58:57 +00:00
christos
7b128daa3b
stack police: Introduce an opl_match function that uses malloc instead of
...
allocating ~2K of softc on the stack.
2006-06-09 21:55:33 +00:00
christos
f96931bf10
stack police: Don't allocate large buffers on the stack for I/O. Put the
...
buffer in the softc instead.
2006-06-09 21:34:19 +00:00
christos
de34bda8ec
stack police: don't allocate usb_events on the stack, malloc them directly.
...
this saves stack and an extra copy.
2006-06-09 21:33:42 +00:00
christos
c10d68c29c
stack police: Don't allocate 1k on the stack, only use malloc when we need to.
2006-06-09 21:33:01 +00:00
drochner
c87a7b61b9
fix obvious botch in radiotap header alignment (untested)
2006-06-09 19:17:46 +00:00
rpaulo
f5a468f537
Revert previous. Wrong way of doing things...
2006-06-09 19:13:17 +00:00
kent
a70f7f188d
- print audio format only when the format is changed
...
- print the name of STAC9220 codec
2006-06-09 16:56:30 +00:00
kent
71842e07b1
shorten audio format message
2006-06-09 16:26:58 +00:00
gdamore
ef3b8c3cc3
Print bus_addr_t using PRIx64 (casting to uint64_t), which fixes builds
...
on 32-bit sparc (which have 64-bit bus_addr_t, but only 32-bit pointers.)
2006-06-08 22:42:24 +00:00
simonb
dfeb2fa259
Unwrap a not-too-long line.
2006-06-08 21:04:16 +00:00
rpaulo
69ae4b1781
Bring the following change from OpenBSD:
...
Keep track of the average RSSI using an Exponential Moving Average (EMA).
Use it to dynamically tune radio receive sensitivity.
The idea is simple:
- increase sensitivity when the RSSI is bad to optimize throughput on
long distance to the AP, and
- decrease sensitivity when the RSSI is good to reduce noise level and
optimize throughput on short distance to the AP
The EMA allows to smooth RSSI variations so we don't end up changing the
sensitivity too frequently. We check if it would be worth updating the
sensitivity every one second.
RSSI thresholds were taken from the Ralink Tech. Linux driver.
2006-06-08 20:56:41 +00:00
rjs
f001fdd86f
Regen for Nokia CA42.
2006-06-08 17:57:14 +00:00
rjs
9ade422744
Add vendor id for Nokia.
...
Add product id for CA42 mobile phone cable.
2006-06-08 17:56:20 +00:00
rpaulo
41eefa78ba
Add cleandir and clean fake targets. I should find a better way to do this.
2006-06-08 15:22:03 +00:00
rpaulo
24ba5ad5fd
Rename sta variable. Pointed out by Havard Eidnes and Juergen Hannken-Illjes.
2006-06-08 13:00:35 +00:00
hannken
cbaa71d5f4
Add missing brace to make it compile again.
2006-06-08 10:56:49 +00:00
xtraeme
5ff5dfea17
Adapt to timecounters.
2006-06-08 05:00:25 +00:00
freza
a88dd66a11
Advance queue indices properly instead of silently rewriting
...
sysmon_power_event_queue[0] all the time.
OK by thorpej@
2006-06-08 04:23:34 +00:00
kent
08c434e746
add 23 ICH8 devices.
...
http://download.intel.com/design/chipsets/specupdt/31305701.pdf
No regen follows because no one refers them.
2006-06-08 02:34:28 +00:00
rpaulo
e84fae1d86
Add a fake includes target.
2006-06-08 00:21:54 +00:00
rpaulo
7145d9ddba
Descend into microcode.
2006-06-08 00:12:50 +00:00
rpaulo
943d263332
Descend into ral.
2006-06-07 23:30:17 +00:00
kardel
de4337ab21
merge FreeBSD timecounters from branch simonb-timecounters
...
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-06-07 22:33:33 +00:00
rpaulo
95b0a57069
Definitions needed by subsequent Makefiles to install the firmware.
2006-06-07 19:54:04 +00:00
rpaulo
a484b73c46
Refactor this and use bsd.files.mk instead.
2006-06-07 19:52:49 +00:00
rpaulo
6fe7f65c21
Define proginstall (empty) and afterinstall (to install the firmware).
2006-06-07 19:14:37 +00:00
rpaulo
9a7119856d
License from Ralink.
2006-06-07 18:58:27 +00:00
smb
a5b05fc8d6
Increase the size of UMODEMIBUFSIZE and UMODEMOBUFSIZE. These are the
...
USB input and output buffer sizes; the previous values were fine for
dialup modems, but seriously limited the speed of some high-speed
wireless devices that appear to the system as a umodem.
2006-06-07 18:03:00 +00:00
nakayama
dc8650e97c
Add void cast to functions whose return values are ignored.
2006-06-07 15:34:47 +00:00
nakayama
abcd591292
Make it compile on sparc64.
2006-06-07 15:30:48 +00:00
kent
0b0ab7efe7
* move mixer functions from azalia.c to azalia_codec.c, and
...
rename them like azalia_mixer_foo() to generic_mixer_foo()
* enable codec-specific code to hook any mixer operations such
as creating mixer items, or special handling for a specific
item.
* provide a custom mixer table specific to ALC260
* provide a custom mixer table specific to Fujitsu LOOX
2006-06-07 15:23:59 +00:00
dogcow
938bded698
revert my earlier commit - the /ic/ stuff should go in src/sys/conf/files,
...
not here.
2006-06-07 08:05:53 +00:00
dogcow
a48d248fbb
ral_pci was missing the /ic/ files.
2006-06-07 03:39:43 +00:00
rpaulo
65369074fe
regen
2006-06-06 21:01:04 +00:00
rpaulo
431dc1da44
Attachment framework for the rt2561.c and rt2661.c drivers.
...
From OpenBSD.
2006-06-06 21:00:41 +00:00
rpaulo
9fc70013c7
struct ifnet must be inside sc_ec. Fixes panics on detachment.
2006-06-06 20:48:27 +00:00
tron
6cfd8c69e5
Regen.
2006-06-06 08:54:27 +00:00
tron
132db79f9b
Resolve name conflict between Sun Type 6 and Type 7 USB keyboard.
2006-06-06 08:53:58 +00:00
grant
88b1c2383e
regen.
2006-06-06 06:21:29 +00:00
grant
ca33211023
add Sun type 7 keyboard.
2006-06-06 06:17:59 +00:00
rpaulo
355b4c7b38
Oops, missing arg to firmware_free.
2006-06-06 01:18:25 +00:00
martin
daed41efa2
Add D-Link DWL-610
2006-06-05 21:09:29 +00:00
martin
b8a3ae290a
Regen (DWL-610 added)
2006-06-05 21:08:51 +00:00
martin
a2e2668a27
Add D-Link Air DWL-610
2006-06-05 21:08:18 +00:00
bouyer
02ace2fe6c
Adjust quirk entry for seagate drives. Should fix kern/33637 by Shigeya
...
Suzuki.
2006-06-05 18:22:23 +00:00
rpaulo
c54cf300da
Don't leak memory on error.
2006-06-05 17:00:50 +00:00
rpaulo
7a35a95fe6
Add missing firmware_close().
2006-06-05 16:59:41 +00:00
msaitoh
52532c99c9
add support 82546GB_PCIE(PRO/100MT), 82541ER_LOM, 82547EI_MOBILE,
...
82571EB_COPPER, 82571EB_FIBER, 82572EI_COPPER, 82572EI_FIBER
and 82572EI(PRO/1000PT)
TODO: add i82573 support
2006-06-05 16:06:10 +00:00
xtraeme
045e0f2d3d
it_check(): check values from IT_RES48 and IT_RES52, if both are default
...
values specified by the chip, continue attaching the driver (previously
only checking IT_RES48 was enough and IT_RES52 was ignored).
2006-06-05 15:59:47 +00:00
msaitoh
5d3a49100a
regen
2006-06-05 15:58:55 +00:00
msaitoh
f80e45c34c
add 82541ER_LOM, 82547EI_MOBILE, 82546GB_PCIE(PRO/100MT),
...
82546GB_QUAD_COPPER(PRO/1000MT QP) and 82572EI(PRO/1000PT).
2006-06-05 15:58:15 +00:00
gdamore
b38b3d39ad
Import new HAL 0.9.17.2. Approved by sam@
...
New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices. MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.
Please report any new problems with this import to garrett@.
2006-06-05 05:14:37 +00:00
rpaulo
76c6161871
Driver for Ralink chipsets RT2460A, RT2560, RT2561S, RT2561 and RT2661
...
from FreeBSD/OpenBSD that supersedes ral*.[ch].
Not yet enabled because I don't have a CardBus controller to test and it
will most likely crash during detach.
I tried to include our modifications, but if something is missing please
tell me or add it.
Special thanks to minipci.biz for the donation of one PCI RT2661 and
one CardBus RT2661.
2006-06-04 20:38:06 +00:00
rpaulo
a49baeafe7
Generated firmware files for Ralink chipsets 2561, 2561s, 2661.
2006-06-04 20:32:53 +00:00
rpaulo
e2c5d8e671
Framework to build Ralink wireless cards binary firmwares based on
...
Ralink distributed microcode.h.
From OpenBSD.
2006-06-04 20:30:17 +00:00
christos
52514196f1
save another 1K on the stack.
2006-06-04 19:38:32 +00:00
christos
03701dc24f
Don't allocate 1K on the stack.
2006-06-04 19:34:16 +00:00
christos
4de2a1c70e
Don't allocate 2K on the stack...
2006-06-04 19:27:59 +00:00
itohy
90ed6f0bd7
Make compile by gcc 2.
2006-06-04 11:49:02 +00:00
rpaulo
8420a4bdc7
Sean Boudreau: The eeprom bits are shifted out in host order.
...
Also present in the upcoming rt2560.c driver.
2006-06-03 12:02:51 +00:00
nathanw
9822b848e6
Change return type of sdgetdisklabel() from void to int; return an error
...
if readdisklabel() returned an error.
sdopen(): Return an error if sdgetdisklabel() returns an error. This prevents
a crash in spec_open() (and possibly elsewhere) if a sd device is detached in
the middle of sdopen().
2006-06-01 15:53:09 +00:00
jonathan
6e42605bf4
Rework bge_reset() to more closely follow the Broadcom-supplied Linux driver:
...
1. Instead of enabling the buffer manager hardware-FSM only on
pre-5705 devices, initialize the buffer manager on all bge devices.
Modelled on the Broadcom-authored Linux driver.
2. Instead of enabling the memory arbiter hardware-FSM only on
pre-5705 devices, initialize the memory arbiter on all bge devices.
Modelled on the Broadcom-authored Linux driver.
3. Ditto the second copy of code which enables the memory arbiter.
Also, add an XXX asking, why taunt the chip this way a second time?
(The most plausible explanatoin is that enabling the memory arbiter
twice is my own darn fault, likely a cut-and-paste glitch I made many
moons ago, when re-ordering hardware enables to match the Linux drivers.)
2006-06-01 02:20:54 +00:00
jonathan
e8c37e204d
Fix a minor thinko in ascertaining whether or not a bge(4) device is
...
attached via PCI-Express:
The previous code first checked that the bge ASIC-revision matched the
5750 ASIC-revisoin (the bcm5721 has the same ASIC revision). However, the
bcm5752 is also a PCI-Express device, but has a different ASIC revision.
Thus, we were setting sc->bge_pcie to zero for bcm5752s, which in turn
causes bge_reset() to not perform required PCI-Express setup.
The test for a 5750 ASIC revision may (or may not) have been carried
across from the FreeBSD bge(4) driver. FreeBSD's bge(4) does not
properly detect or handle post-5750 bge devices. Instead, FreeBSD's
bge(4) keeps a sofc copy of the ASIC revision, and for post-5750
devices (5752, 5714, ...) overwrites that softc copy of the
ASIC-revision with the 5750 ASIC revision. Thus, the test (mutatis
mutandis, using FreeBDS's softc asic-revision field), was correct for
FreeBSD; but manifestly incorrect for NetBSD.
Mark Davies (mark at mcs.vuw.ac..nz) has confirmed via private email
that this change fixes PR kern/kern/33509: his bcm5752 now works.
2006-06-01 01:46:41 +00:00
uwe
4c3245cf01
Remove redundant semicolon in dev_type_cnbell.
2006-06-01 00:43:37 +00:00
riz
03c11483b9
Add support for the DLink DGE-530T revision B1 (Tested by Tillman
...
Hodgson) and the DGE-560T (untested).
2006-05-31 21:46:32 +00:00
riz
5412a4d276
Regen.
2006-05-31 21:43:25 +00:00
riz
1ff114df3d
Add a couple DLINK product IDs, from OpenBSD.
2006-05-31 21:42:35 +00:00
drochner
4b02662f6c
-add 2 subclasses new in rev. 3.0 of the spec, and fix a pasto in another
...
-get power management rev printing right
2006-05-31 10:01:18 +00:00
uwe
bcd4abc305
If tty that we open already has hpf1275a line discipline set, don't
...
spawn new pseudo-device and wskbd instances.
XXX: The logic for exclusive use needs to be thought out better, but
for now this should at least prevent scores of new hpf1275a/wskbd
being attached if you accidentally set this line discipline on your
serial console.
2006-05-30 01:14:38 +00:00
uwe
f7d6597db0
Miscellaneous cosmetics.
2006-05-29 23:01:08 +00:00
uwe
5807cbeb31
Propagate "static" to linesw method defintions.
2006-05-29 22:17:26 +00:00
uwe
b2d14e97a2
Constify hpf1275a_wskbd_keymapdata.
2006-05-29 21:27:16 +00:00
rittera
98c1d0c0f5
Replaced some #ifdef NDIS_LKM's which were commenting out debugging
...
information with #ifdef NDIS_DBG. Also added a commented out #define NDIS_DBG
to ndis_var.h.
2006-05-29 20:49:03 +00:00
drochner
305932c524
Remove passing of an uninitialized variable found by gcc4.
...
(The variable was not used by the called function, so remove the
argument completely.)
2006-05-29 15:17:29 +00:00
drochner
3a1bb8a2ff
gcc4 found that it can't store
...
#define TULIP_TXTIMER 4
in
u_int32_t tulip_txtimer : 2; /* transmission timer */
gcc4 appears to be right. "tulip_txtimer" is purely used by software,
so give it the full integer.
(Appearently the txtimer could never work.)
2006-05-29 15:12:57 +00:00
blymn
3a0170518a
Clean up bogus whitespace
2006-05-28 13:12:42 +00:00
blymn
8582430c8c
Clean up bogus whitespace
2006-05-28 13:01:46 +00:00
martin
b59e36a073
Move definition of the 'fb' attribute to global scope and make machfb@pci
...
require it. On most archs this does not change anything, but on sparc{,64}
it allows linking of kernels that have machfb as the only framebuffer.
Solution suggested by Quentin.
2006-05-28 08:57:53 +00:00
he
732bd1213b
Remove setting of xs_status to XS_STS_DONE before calling scspi_done().
...
After revision 1.135 of scsipi_base.c, it's a big no-no to set
XS_STS_DONE before calling scsipi_done(). Besides, scsipi_done()
sets XS_STS_DONE itself after checking that it's not already set.
This puts this driver back in working order; before this change
the probe of the logical drives would cause a hang.
2006-05-27 17:56:39 +00:00
rittera
60d227b1f8
Some general cleaning up of if_ndis.c, and if_ndis_pci.c. Added
...
#ifdef NDIS_DBG around some printfs, and deleted some commented out code.
2006-05-26 19:27:49 +00:00
blymn
a88dd3436a
Clean up bogus whitespace
2006-05-26 12:52:45 +00:00
blymn
6b8a344329
Clean up bogus whitespace
2006-05-26 12:39:31 +00:00
blymn
44278a4fa1
Clean up bogus whitespace
2006-05-26 11:52:08 +00:00
blymn
1e545a5a2b
Include kauth header for function prototypes
...
Whitespace cleanup.
2006-05-25 11:24:00 +00:00
wrstuden
d6dd729f42
Add $NetBSD: ids, which work better than $netbsd: ones.
2006-05-25 01:37:08 +00:00
wrstuden
b949192d0f
Style changes from simonb at wasabisystems dot com:
...
Use config_stdsubmatch() instead of our own submatch function.
Use "__inline" in header files and "inline" in .c files.
Make some local function static.
2006-05-25 00:21:45 +00:00
wrstuden
a4dd1e2635
3ware 9000 driver, contributed by Wasabi Systems and written
...
by Jordan Rhody (based on the FreeBSD driver).
Contributed in NetBSD PR 33364.
2006-05-24 23:44:28 +00:00
mrg
27fdcc3d32
'volatile' is not a valid return type qualifier - remove it.
2006-05-24 21:22:36 +00:00
rpaulo
46ecc3073d
First round at adapting to our net80211 stack. Unfinished work, but at least
...
won't make the machine panic.
2006-05-22 21:01:15 +00:00
uwe
24172f6f4d
#include <dev/wscons/wsksymvar.h> as gcc4 doesn't like arrays,
...
pckbd_keydesctab[] in this case, with incomplete element types (older
versions of gcc allow them as long as you don't try to access them).
2006-05-22 20:40:07 +00:00
christos
770d099190
add void casts.
2006-05-22 00:09:34 +00:00
christos
fe6055587f
void casts to functions whose return values are ignored.
2006-05-21 23:56:09 +00:00
christos
b0eb4bc8ee
Remove packed attributes gcc-4 dislikes.
2006-05-21 23:55:22 +00:00
rpaulo
d330ad3005
The check for LMC cards should return NULL, not 0.
...
No functional change.
2006-05-20 14:23:07 +00:00
uwe
64f867a645
Redo previous fix properly. Original code had a typo caused by very similar
...
function and variable names. We need to protect tag comparison b/c we don't
want to perform it against an uninitialized tag.
2006-05-20 12:29:57 +00:00
mrg
a4efc02595
in code that looks like:
...
igsfb_pci_is_console(pci_chipset_tag_t pc, pcitag_t tag)
{
return igsfb_pci_is_console && (tag == igsfb_pci_constag);
}
delete "igsfb_pci_is_console &&" as the address of igsfb_pci_is_console
is always true. thanks gcc4.
2006-05-20 10:31:29 +00:00
mrg
afda9ed915
initialise pos.x and pos.y to appease GCC4.
2006-05-20 07:09:08 +00:00
markd
d6a59139b0
Add Intel 82801GBM/GHM Serial ATA Controller.
2006-05-19 01:27:00 +00:00
markd
99ff72f2ed
regen
2006-05-19 01:24:46 +00:00
markd
95090b8031
Add some devices found on a Dell Latitude D620.
2006-05-19 01:22:58 +00:00
bouyer
38038ac6c0
Add yet another broken 160Gb seagate drive. I though we had found all of
...
them ... reported by Damian Lubosch on current-users.
2006-05-18 19:42:09 +00:00
mrg
f599351ef6
quieten GCC uninitialise variable warnings.
2006-05-18 18:45:48 +00:00
kiyohara
43911ef4e2
Support LM77 Temperature.
2006-05-17 00:10:54 +00:00
pavel
dbbc553deb
Disable hw VLAN tagging, in a similar way that it was done in OpenBSD
...
(src/sys/dev/ic/re.c rev. 1.15). The disabled VLAN stripping is mine.
(The OpenBSD driver forgot to do this.)
The reason is that untagged packets get sometimes tagged incorrectly.
PR 32643.
Approved by martin@.
2006-05-16 22:39:24 +00:00
he
aa1b731e45
Include now needed <sys/kauth.h>, and fold a long line.
2006-05-16 16:49:41 +00:00
kent
e47609747e
If one or more playback filters are applied, minimize loading
...
size of the hardware buffer to improve accuracy of AUDIO_GETIOFFS.
2006-05-16 13:46:19 +00:00
yamt
608bce94cf
- include kauth.h for kauth_authorize_generic.
...
- wrap a long line.
2006-05-15 20:48:19 +00:00
yamt
4b0ca302cc
- include kauth.h for kauth_authorize_generic.
...
- tweak indent for a long line.
2006-05-15 20:47:22 +00:00
yamt
66d08528ca
- include kauth.h for kauth_authorize_generic.
...
- wrap a long line.
2006-05-15 20:40:55 +00:00
christos
91e856a0db
Move the lmc match test in the right place (not in the bsdi match). From
...
David Boggs.
2006-05-15 12:48:52 +00:00
yamt
52da04717a
- include kauth.h for kauth_authorize_generic.
...
- whitespace.
2006-05-15 12:39:05 +00:00
yamt
441bc06826
include kauth.h for kauth_authorize_generic.
2006-05-15 11:17:55 +00:00
yamt
6623bf87ee
- include kauth.h for kauth_authorize_generic.
...
- wrap a long line.
2006-05-15 09:25:09 +00:00
elad
2867b68bc3
integrate kauth.
2006-05-14 21:42:26 +00:00
martin
01903cbdf3
Fix typo in comment. From Mátyás János in PR kern/33477.
2006-05-14 10:25:16 +00:00
christos
c0fdc5190f
XXX: GCC uninitialized
2006-05-14 05:42:43 +00:00
dyoung
7153b68a4a
Make rtwvar.h, rtw.c agree whether rtw_host_rfio and rtw_debug are
...
static or extern. Problem noted by Tom Spindler.
2006-05-14 04:08:09 +00:00
dogcow
12d973491c
gcc4: 'Data' may be used uninitialized in this function
2006-05-14 03:02:14 +00:00
xtraeme
3b291301d4
Remove code for the IT87xxF chipsets, it was included on its own
...
driver (it(4)).
2006-05-13 09:03:21 +00:00
xtraeme
33a96be9f2
Driver for iTE IT87xxF and compatibles hardware monitor. Add
...
commented out entries on GENERIC and GENERIC_LAPTOP.
Adapted from OpenBSD.
2006-05-13 09:02:18 +00:00
gdamore
d92bd53f93
Correct two problems with established timings. First, the wrong hex value
...
was being read due to using the same byte twice.
Second, the ordered list of names was *backwards* in the _edid_modes list.
2006-05-13 00:39:19 +00:00
tsutsui
337a4c703f
According to the i8259 manual, EOI, R, and SL bits belong to OCW2 register
...
so rename them OCW3_* -> OCW2_*.
2006-05-12 10:58:12 +00:00
mrg
0337fbac37
make [OU]READ[124]() real inline functions instead of macros.
2006-05-12 01:25:00 +00:00
mrg
ce51c72be5
quell GCC 4.1 uninitialised variable warnings.
2006-05-11 23:54:39 +00:00
mrg
b18db50b21
cast the return value of several macros that evaluate to "(func() == FOO)"
...
to (void) to avoid "computed value not used" warnings.
2006-05-11 22:26:54 +00:00
gdamore
37aa1cc453
Added entries for edid, ddc, vesagtf, and ddc_read_edid.
2006-05-11 21:11:29 +00:00
mrg
187c39fd03
in uaudio_process_as() initialise ai.aformat and ai.ifaceh.
2006-05-11 19:09:25 +00:00
gdamore
80044be1b4
Change edid_parse() to take the edid structure as argument rather than
...
allocating its own. (This is cleaner since we aren't allocating any
other data in this structure.)
Get rid of edid_free() as a result.
2006-05-11 19:05:41 +00:00
gdamore
6594783dbb
Add EDID framework. (No documentation as yet.)
...
This allows one to query monitors (or use BIOS EDID data) and learn their
default modes, etc. To use this, pass an EDID data block edid_parse(), and
get back nicely parsed data, including precalculated modes using GTF, etc.
The result can be printed using edid_print().
Also, if you want to use GTF to generate modes without EDID, you can use the
vesagtf pseudo-device. vesagtf.c can also be compiled as a standalone program
to generate XFree86 modelines.
2006-05-11 01:49:53 +00:00
mrg
8a90e2b19f
don't try to #define bus_space_read_1() if defined(sparc).
2006-05-11 01:02:59 +00:00
mrg
ea9579cbb2
don't declare ahc_pci_ident_table[] and ahc_num_pci_devs extern, they aren't.
2006-05-11 01:02:15 +00:00
mrg
084c052803
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
kent
856fb95215
fix incorrect ADC list for ALC880.
...
PR kern/33326 by Uwe Klaus
2006-05-10 11:17:27 +00:00
drochner
fa6adb2a78
Disable "1284" device recognition early to work around
...
a misfeature in the mode switching / 1284 code.
(It refuses to switch the port mode to eg "PS2"
sometimes if no device speaking the PnP protocol
is connected. Should be fixed elsewhere, but this
is a can of worms.)
2006-05-10 10:33:40 +00:00
drochner
f4f8d2a3de
remove spl and locking stuff from interrupt handler
2006-05-10 10:27:49 +00:00
uebayasi
4a02e59152
Update URLs to ASAHI KASEI CODECs.
2006-05-10 09:07:57 +00:00
skrll
a9f4c28a3d
Fix a bunch of cast lvalues.
2006-05-10 06:24:02 +00:00
kent
6ad20dfc11
Fixes a bug that audio_offset_t::samples for AUDIO_GETxOFFS has
...
incorrect value. It also affects SNDCTL_DSP_GETOPTR of
ossaudio.
PR: kern/32405 by Stephane Witzman
2006-05-10 01:56:21 +00:00
gdamore
1262ffef31
Handle interlace video refresh modes, so 1024x768i is 87Hz refresh, instead
...
of 43. This corresponds more closely to the mode name as defined by VESA.
2006-05-09 17:51:03 +00:00
rpaulo
a2a222b5c1
Don't use a private variable for storing the desired ssid, the net80211 layer
...
provides that.
From OpenBSD.
2006-05-08 17:12:42 +00:00
jdc
94b7dad338
Remove call that sets XS_STS_DONE before we call scsipi_done().
...
This makes isp work again following the change in r1.135 of scsipi_base.c.
Also tested by David Hopper.
2006-05-07 17:31:48 +00:00
kent
72804b8f8c
Don't assume the device always has PCI_MAPREG_MEM_TYPE_64BIT.
...
This change might help nForce 410/430 support.
2006-05-07 08:31:44 +00:00
jmcneill
b95c4318a3
Add __KERNEL_RCSID.
2006-05-07 01:54:39 +00:00
jmcneill
462acc087a
Add support for the Intel PIIX4 power management controller, from OpenBSD.
2006-05-07 01:32:42 +00:00
elad
228eae7a90
add missing vrele(), from blymn@.
2006-05-06 13:25:36 +00:00
thorpej
fb44a8574b
Remove the devprop API and switch everthing over to the new proplib. Add
...
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
drochner
50d235e444
make sure "radiotap" capture data are aligned,
...
thanks to Pierrick Brossin for verifying the effect on "tcpdump" output
2006-05-05 09:04:05 +00:00
simonb
5754da5b7f
Add missing "return 0;" from WSDISPLAYIO_SMODE case in voodoofb_ioctl().
2006-05-04 02:18:11 +00:00
kiyohara
c8693c641b
Back out for 1.94 from 1.93.
2006-05-03 00:37:44 +00:00
martin
c6795868de
Fix some comments, mostly from Nenad Crnko in PR kern/33402.
2006-05-02 08:31:02 +00:00
rpaulo
77ff29031a
aprint_debug -> aprint_error.
2006-05-01 20:43:46 +00:00
rpaulo
5cd433e986
My laptop sends DeviceCheck instead of PowerSourceStatusChanged.
2006-04-30 20:44:35 +00:00
xtraeme
f9a0ff490e
regen
2006-04-30 18:58:19 +00:00
xtraeme
36b60342ff
PR kern/32849: pcidevs update for Intel 82801CA AC'97 Modem Controller.
...
Apply patch from Nicolas Joly.
2006-04-30 18:57:51 +00:00
xtraeme
c28f2b42a3
PR kern/32885: adt7463 i2c device does not always unlock i2c bus on error.
...
Apply patch from Nicolas Joly.
2006-04-30 18:54:20 +00:00
xtraeme
53ef4625e0
PR kern/32913: amdpm(4) smbus/i2cbus needs locking. Apply patch
...
from Nicolas Joly.
2006-04-30 18:46:18 +00:00
xtraeme
22f565fb88
Add missing 'arp' keyword for the nfe driver, reported by Murray
...
Armfield in PR kern/33384.
2006-04-30 17:56:03 +00:00
xtraeme
ef9797bf50
regen
2006-04-30 17:33:46 +00:00
xtraeme
5140e8073f
PR port-amd64/33393: viaide driver patch for VT8237R SATA.
2006-04-30 17:33:17 +00:00
kiyohara
8e6f9eeb0a
Fix memory leak.
2006-04-30 14:18:40 +00:00
kiyohara
b6f53afe55
Use An appropriate flag in macro fw_bus_dma_*.
2006-04-30 14:14:06 +00:00
kiyohara
f4eda9f835
use fw_bus_dmamap_create().
2006-04-30 14:03:11 +00:00
kiyohara
a187d57e17
Indented.
2006-04-30 13:54:18 +00:00
kiyohara
413954f079
Remove sync-ope for descritor of DMA, because its descriptor set
...
BUS_DMA_COHERENT flag.
2006-04-30 13:49:32 +00:00
kiyohara
4968634056
Do microtime() before return.
2006-04-30 13:25:04 +00:00
kiyohara
dd76308798
Coordination of macro fw_bus_dma_tag_create().
2006-04-30 13:15:01 +00:00
kiyohara
3575b136a0
Remove `;'.
2006-04-30 12:47:32 +00:00
kiyohara
12730f6820
No parentheses are needed around the return value.
2006-04-30 12:28:21 +00:00
kiyohara
2b88be7cb6
Indented.
2006-04-30 12:11:58 +00:00
rpaulo
a1c7943ca0
Describe the capabilities supported.
2006-04-29 16:46:11 +00:00
rpaulo
3dd0f930ba
There's no power management support under ipw, so don't announce it to
...
the net80211 stack.
2006-04-29 16:43:40 +00:00
gdamore
9859995cc0
Regen.
2006-04-29 02:10:09 +00:00
gdamore
2c111ff670
Add Audigy4 device id.
2006-04-29 02:08:47 +00:00
tsutsui
9c9326fb6d
Free one more resource on attach failure.
2006-04-28 15:42:18 +00:00
rpaulo
35acb56df5
bzero -> memset
...
bcopy -> memcpy
2006-04-28 14:17:13 +00:00
rpaulo
e0a9e3e48a
Print the Ethernet address on attachement.
2006-04-28 13:59:59 +00:00
rpaulo
7722935971
ANSIfy.
2006-04-28 13:47:29 +00:00