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