Commit Graph

20325 Commits

Author SHA1 Message Date
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