Commit Graph

81176 Commits

Author SHA1 Message Date
tsutsui
3eb8ea4219 Pull slightly optimized BUS_DMASYNC_PREREAD op from other mips3 ports. 2006-05-14 05:53:42 +00:00
christos
c0fdc5190f XXX: GCC uninitialized 2006-05-14 05:42:43 +00:00
christos
103d2f520c XXX: GCC uninitialized. 2006-05-14 05:30:31 +00:00
christos
fc33769a12 gcc 4 does not like LHS casts. 2006-05-14 05:28:45 +00:00
christos
12b7ab5f0b Correct a bogus expression gcc4 found. 2006-05-14 05:27:59 +00:00
christos
99b7478875 Initialize an uninitialized variable gcc 4 found 2006-05-14 05:26:59 +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
christos
ca0ec852e6 XXX: GCC uninitialized 2006-05-14 03:40:02 +00:00
dogcow
12d973491c gcc4: 'Data' may be used uninitialized in this function 2006-05-14 03:02:14 +00:00
christos
d04095abaa Comment out packed attributes that gcc 4 does not like. 2006-05-14 02:45:45 +00:00
christos
8f60e3b3e5 Comment out attribute packed. Gcc4 warns us that the field is too narrow
for packing. Produces the same size struct on i386 (28 bytes)
2006-05-14 02:34:41 +00:00
lukem
c75cb560f1 support MAKEVERBOSE 2006-05-13 12:02:54 +00:00
lukem
e7526fa7ea support MAKEVERBOSE 2006-05-13 09:14:14 +00:00
lukem
261d50393a Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-13 09:13:11 +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
skrll
214053461e Fix some more comments. 2006-05-13 08:56:08 +00:00
lukem
f2e1749b26 support MAKEVERBOSE 2006-05-13 04:12:33 +00:00
lukem
dff2a78d7a Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-13 04:11:04 +00:00
matt
0e504287d7 Fix a problem when an exec page is mapped, modified, and then unmapped.
Make sure to either clear the execness or sync the page to the icache.

This fixes gdb testsuite failures.  Thanks for nathanw for testing.
2006-05-13 04:04:45 +00:00
lukem
176b81e4ff Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-13 03:37:47 +00:00
lukem
032741abf4 support MAKEVERBOSE 2006-05-13 03:19:28 +00:00
lukem
a6f0ba44b5 When creating BASE.rom, don't use BASE.bin as a temporary filename,
since the latter is a valid target name.
2006-05-13 02:47:03 +00:00
lukem
667bf36cad support MAKEVERBOSE 2006-05-13 02:33:40 +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
perseant
285f68c114 Fixes to address the "vinvalbuf: dirty blocks" panic that can occur when
many inodes are cleaned at once.  Make sure that we write all the pages
on vnodes that are being flushed, even if we don't think there's room;
drain v_numoutput before lfs_vflush() completes.

Also, don't allow a vnode that is in the process of being cleaned to be
chosen by getnewvnode(); this avoids a segment accounting panic in the case
that a large number of inodes are fed to lfs_markv() all at once.
2006-05-12 23:36:11 +00:00
uwe
ada9aa3cee De-__P. 2006-05-12 23:35:24 +00:00
rpaulo
2134afa7ad By popular demand, this should be done by config(1). 2006-05-12 20:39:39 +00:00
dogcow
dcc4a379f8 as mrg@ points out, including <bsd.own.mk> is the proper fix. 2006-05-12 16:45:12 +00:00
nathanw
a255fcef8d Fix a typo in a comment. 2006-05-12 16:01:05 +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
dogcow
c242ce750a deal sanely(?) with when HAVE_GCC is undefined. 2006-05-12 06:43:55 +00:00
dogcow
bbea9a711c add more HAVE_GCC == 4 protection 2006-05-12 06:08:47 +00:00
simonb
c1924fc56d KNF, ANSIfy, white space clean up. 2006-05-12 06:05:22 +00:00
skrll
4fb473c54c Fix some comments. 2006-05-12 06:01:02 +00:00
skrll
a337e06c5e ANSIfy 2006-05-12 05:42:36 +00:00
lukem
68908e2212 Convert to using CC instead of LD, as LDFLAGS is for CC not LD. 2006-05-12 04:28:18 +00:00
skrll
6206b7dc5f P_PROFIL is held in p_flag of struct proc so test for it there. 2006-05-12 04:26:40 +00:00
mrg
abeaa4f60d apply -Wno-pointer-sign with GCC4. 2006-05-12 03:29:11 +00:00
mrg
84e6307a04 use socklen_t when talking to the NetBSD side of things 2006-05-12 01:58:55 +00:00
mrg
e294fdae0a avoid a GCC uninitialised variable warning. 2006-05-12 01:25:44 +00:00
mrg
0337fbac37 make [OU]READ[124]() real inline functions instead of macros. 2006-05-12 01:25:00 +00:00
mrg
3adabe6283 - -mcpu=i386 is gone in GCC4
- we need -Wno-attributes (to avoid __packed__ warnings)
- use -Wno-pointer-sign
- remove some redundancy from pxeboot/Makefile
2006-05-12 01:23:51 +00:00
mrg
126f7e1139 since ar_tha() can return NULL, don't pass it directly to functions
that expect real addresses.  explicitly KASSERT() that it is not
NULL in the kernel and just avoid using it userland.

(the kernel could be more defensive about this, but, until now it
would have just crashed anyway.)
2006-05-12 01:20:33 +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
mrg
efb8c0c93f if GCC>3:
- add -Wno-attributes -Wno-pointer-sign to CWARNFLAGS.
- add -fno-strict-aliasing to CFLAGS [*]

our kernel again needs a bunch of work for this to be enabled.
2006-05-11 17:21:38 +00:00