Commit Graph

18349 Commits

Author SHA1 Message Date
kent 93293b9ec7 ansify and KNF 2005-01-15 15:19:51 +00:00
skrll 4b90045498 Remove local PCI_PRODUCT defines 2005-01-15 13:27:23 +00:00
skrll fcf73d97d0 Regen. 2005-01-15 13:23:31 +00:00
skrll 26e988358c Add Intel PRO/Wireless LAN 2915ABG Mini-PCI Adapter 2005-01-15 13:21:31 +00:00
kanaoka 79c7579be2 - Make sure D0 state if device has Power Managmet capability.
- Use aprint_*.
 - Change some cosmetic.

XXX not tested.
2005-01-15 12:33:37 +00:00
kanaoka 1c4a548b54 - Use aprint_*.
- Use ANSI decls.
 - Change some cosmetic.
2005-01-15 12:32:09 +00:00
dyoung 7ce33f984e Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.

Add a sysctl for enabling/disabling debugging.

The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.

While we're here, pad some RIDs to the length that new firmware
really expects.

Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.
2005-01-15 11:01:46 +00:00
jdolecek 23ddf6b52d regen: Fix Geforce 6800GT entry 2005-01-15 08:40:41 +00:00
jdolecek cd31b660cb Fix Geforce 6800GT entry 2005-01-15 08:40:07 +00:00
jdolecek 139cc687c0 regen: add bunch of NVIDIA GeForce 6800 devices 2005-01-15 08:38:19 +00:00
jdolecek 9ed9632969 add bunch of GeForce 6800 entries, from Andrew Gillham 2005-01-15 08:37:34 +00:00
jdolecek 8fe1013ea1 regen: use full 'nForce2 Ultra 400' tag for the NFORCE2_400* enties 2005-01-15 08:33:19 +00:00
jdolecek 739bcb85f8 use full 'nForce2 Ultra 400' tag for the NFORCE2_400* enties 2005-01-15 08:32:53 +00:00
kent 14eae77d98 fix a typo in audiostartp(). This change fixes a problem introduced by
kent-audio1 merger with some audio hardware such as emuxki.
2005-01-15 04:57:18 +00:00
scw 36a24a9003 Cast away a couple of "assignment makes pointer from integer without a cast"
warnings.
2005-01-14 16:23:32 +00:00
dyoung f7a7696b57 Fix typos in TPPOLL register definition: stop the normal- &
low-priority queues with bit1 and bit0, not bit2 and bit2.
2005-01-14 10:13:55 +00:00
kent c9ec679311 ansify and KNF 2005-01-14 03:41:45 +00:00
oster 320bcedf91 After walking through desc->dagList nuking entries, make sure
desc->dagList is set to NULL before continuing.  If we don't,
there's a danger that we'll try to re-free these items later.
(This should fix a panic reported to me via private communciation.)
2005-01-14 01:33:15 +00:00
jdolecek 5dc2830936 match NVIDIA nForce2 Ultra 400 IDE and Serial ATA controller; only the IDE
controller actually tested
2005-01-13 20:54:39 +00:00
jdolecek de76592011 regen: add bunch of NVIDIA nForce2 Ultra 400 chipset devices 2005-01-13 20:52:20 +00:00
jdolecek 87a7c34e2d add bunch of NVIDIA nForce2 Ultra 400 chipset devices 2005-01-13 20:51:49 +00:00
jdolecek 69d096eee2 regen: VIA Velocity 2005-01-13 18:25:49 +00:00
jdolecek 0358345ff3 add VIA Velocity ID 2005-01-13 18:25:19 +00:00
kent 069e72cbb8 ansify and KNF 2005-01-13 15:14:03 +00:00
kent b85368e36f ansify and KNF 2005-01-13 15:01:27 +00:00
jmmv c4c2514524 Fix two typos. 2005-01-13 14:51:28 +00:00
kanaoka 3e734f8e90 - Move re_diag() from bus independend code to PCI attachment code.
XXX: I tested cardbus device,but not PCI device.
2005-01-13 14:24:24 +00:00
kanaoka 3126ccfe57 - Add my tested device in a comment.
- Change minimum value of latency timer from 0x20 to 0x40.
2005-01-13 14:13:18 +00:00
simonb 11152f29d3 More KNF nits. 2005-01-13 00:48:01 +00:00
kent d69abf4ca0 - make this compile
- style fixes
2005-01-12 17:43:19 +00:00
drochner 3ad43282d2 apply an "& WDOG_MODE_MASK" so that user mode watchdogs started with "-A"
are terminated properly
2005-01-12 16:14:35 +00:00
kent 986f217c29 remove empty auixp_open() and auixp_close(). They are optional.
style fixes
* Don't associate a name with the types
* The function type must be declared on a line by itself
  preceding the function.
* DO NOT initialize variables in the declarations.
* No parentheses are needed around the return value.
2005-01-12 15:54:34 +00:00
reinoud 5c590de03d Update copyright messages 2005-01-12 00:28:03 +00:00
reinoud df06ca85e4 Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.
2005-01-12 00:05:43 +00:00
skrll 28528764d0 Disable the debug stuff 2005-01-11 18:54:18 +00:00
skrll 70f6d0ab0f NetBSD RCSID 2005-01-11 18:49:05 +00:00
skrll e2b108cb16 Add iwi(4). 2005-01-11 18:41:59 +00:00
skrll 60b4bf1e8d iwi(4) - Intel PRO/Wireless 2200AG/2915ABG driver.
Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/

Ad-hoc mode and roaming are not fully implemented yet.
2005-01-11 18:24:24 +00:00
imp f2bd93408a Merge from FreeBSD:
sc_child is only used on NetBSD and OpenBSD, ifdef appropriately
FreeBSD revisions:
	ehcivar.h	1.8
	ohcivar.h	1.39
	uhicvar.h	1.39
2005-01-11 07:45:34 +00:00
kent 5610969544 ansify and KNF 2005-01-11 04:23:14 +00:00
briggs 9750b8741d In epshutdown(), do not attempt to disable the interface when stopping it
because we're about to write to it again (with a global reset).  Disable
the interface explicitly after the reset is written.
2005-01-11 04:16:27 +00:00
kent dc63d1767d fix compilation errors 2005-01-11 03:45:17 +00:00
uwe c1574ed6c1 Add keyboard layout for Jornada 680/690 Spanish (ABE).
From Alfonso Fernandez.
2005-01-11 01:54:20 +00:00
uwe 080b48020c Add KB_ES | KB_MACHDEP placeholder for Jornada 680/690 Spanish (ABE). 2005-01-11 01:39:36 +00:00
joff e1191d101f Replace hd44780_subr.h to hd44780var.h and install to userland. 2005-01-11 00:57:56 +00:00
kent 23b5d91433 merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
2005-01-10 22:01:36 +00:00
smb ddd2ade252 Add a software watchdog timer facility. Because this slightly
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.

The code was reviewed by simonb@.
2005-01-09 22:51:32 +00:00
tsutsui a9b3f31984 Some cosmetics:
- remove __P()
- use ansi decls
- u_int8_t, u_char -> uint8_t
- use macro for debug printfs
- some KNF
2005-01-09 16:59:41 +00:00
martin 5689de1472 Bugfixes and acceleration support.
From Michael Lorenz.
2005-01-09 16:29:20 +00:00
joff 838c742991 Handle (i.e. don't lock up the kernel in hd44780_busy_wait) the case of the
LCD not being there.
2005-01-09 15:43:56 +00:00