Commit Graph

73856 Commits

Author SHA1 Message Date
Poul-Henning Kamp
07dd938303 Don't pass three args when one will do just fine, and even prevent
mistakes like the one brgphy.c (now corrected).
2002-04-28 19:25:07 +00:00
Dag-Erling Smørgrav
afe18bfe77 Move drm to the i386-only section. 2002-04-28 19:21:48 +00:00
Poul-Henning Kamp
83549c664b Improve an API by about 4 lines per driver. 2002-04-28 19:01:32 +00:00
Poul-Henning Kamp
3aae18bde8 Use generic MII #defines instead of private ones when the registers
are IEEE defined.

Object file comes out the same.
2002-04-28 18:47:29 +00:00
Poul-Henning Kamp
1aad4b2a52 Merge in rev 1.9 from NetBSD. 2002-04-28 18:43:30 +00:00
Poul-Henning Kamp
2f35ea476d We don't need the arp kludge any more. 2002-04-28 18:29:44 +00:00
Poul-Henning Kamp
6b00cf46ec Stylistic sweep through the timecounter code.
Renovate comments.
2002-04-28 18:24:21 +00:00
Poul-Henning Kamp
d25917e856 Don't screw up our uptime with historical dates. 2002-04-28 16:51:36 +00:00
Dag-Erling Smørgrav
f249dbcc71 Spell void * as void * rather than caddr_t. This is complicated by the
fact that caddr_t is often misspelled as char *.

Sponsored by:	DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
Mark Murray
6c28b67b1e Minor nit; return(foo) from main rather than exit(foo). 2002-04-28 14:04:24 +00:00
Mark Murray
5d09098835 Very minor whitespace nit. 2002-04-28 13:59:42 +00:00
Mark Murray
4d56f83516 Remove GCC-specific flags. 2002-04-28 13:58:41 +00:00
Mark Murray
4b1b25d919 Reorder for style. 2002-04-28 13:54:45 +00:00
Mark Murray
5666a04546 Remove GCC-specific flags. 2002-04-28 13:53:38 +00:00
Mark Murray
1abf87a869 Fix VCS tags; ANSIfy functions 2002-04-28 13:50:54 +00:00
Mark Murray
5a92bc60c9 Add some function prototypes to squash warnings. 2002-04-28 13:49:15 +00:00
Mark Murray
60d1fdaa47 Easy warns fixes; sort out some types and me them a bit more consistent;
fix initialisers.
2002-04-28 13:46:40 +00:00
Mark Murray
01588bbd2b Warnings fix; ANSIfy, constify, mark unused function parameter(s). 2002-04-28 13:00:16 +00:00
Mark Murray
a53809fd7e Warns; ANSIfy, constify and move declarations into a common header. 2002-04-28 12:55:35 +00:00
Mark Murray
f5b7af34dd Remove GCC-specific flags. 2002-04-28 12:54:24 +00:00
Mark Murray
9e5ff032b5 Fix a const-char vs char issue. 2002-04-28 12:39:12 +00:00
Mark Murray
900d70a0c0 Very minor whitespace nit. 2002-04-28 12:36:56 +00:00
Mark Murray
046f5106a7 Declarations cleanup; make sure externs are in a common header.
Fix declarations, casts and return values.
2002-04-28 12:34:54 +00:00
Mark Murray
ffc6a8e325 warns fixes; ANSIfy, deregister, constify. 2002-04-28 12:28:41 +00:00
Mark Murray
f372d010df Easy warns fixes; constify. 2002-04-28 12:25:03 +00:00
Mark Murray
348870705a Style; line up columns, space things out more consistently. 2002-04-28 12:24:20 +00:00
Mark Murray
81edeb0a44 Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
Mark Murray
635615eb2c Fix VCS inclusion and tidy up #includes. 2002-04-28 12:19:30 +00:00
Mark Murray
241667c457 Cast to kill warnings. De-register. 2002-04-28 12:17:27 +00:00
Mark Murray
e65dd7bc2f fix warnings; change variable/argument names that mask global names. 2002-04-28 12:15:40 +00:00
Mark Murray
2d3f94bf1b Remove GCC-specific flags and commented out cruft. 2002-04-28 12:14:10 +00:00
Mark Murray
fa6d48c068 Some easy const fixes. 2002-04-28 12:12:49 +00:00
Mark Murray
dba464cc27 ANSIfy, VCS inclusions and some very minor style. 2002-04-28 12:09:33 +00:00
Mark Murray
f099c6c361 Minor reorder for style. 2002-04-28 12:08:18 +00:00
Mark Murray
561618799d Fix some easy warnings; ANSIfy, constify.
Fix VCS inclusion and deregister.
2002-04-28 12:04:20 +00:00
Mark Murray
822f14c2ff ANSIfy functions, and move extern declarations into a shared header
where ${DEITY} intended them to be.
2002-04-28 11:59:43 +00:00
Ian Dowse
62e621e89c Fix a number of warnings. A gcc preprocessor bug relating to macros
with variable numbers of arguments made this slightly harder than
it should be. Avoid the bug by not doing string concatenation within
the macros, and instead add a new function to syslog or print the
error messages.
2002-04-28 11:59:30 +00:00
Gary Jennejohn
85c1d5977c Add the Dynalink IS64PPH+ as a supported card.
Reported by:	znerd
2002-04-28 11:52:53 +00:00
Mark Murray
8feb878d72 Fix VCS inclusions. 2002-04-28 11:52:43 +00:00
Mark Murray
78552e79d1 More low hanging warnings fruit; ANSIfy, de-register, constify. 2002-04-28 11:51:03 +00:00
Gary Jennejohn
3573a23fa1 Change instances of avma1pp2- to ifpi2- in printf's since the name
of the driver should be emitted.

This was already changed in the code committed to RELENG_4.
2002-04-28 11:47:10 +00:00
Mark Murray
ff288009d9 Fix some low-hanging fruit in the warnings department; ANSIfy functions,
sort out some const issues.
2002-04-28 11:44:30 +00:00
Mark Murray
e7c7159542 Easy warns fixes; use const, mark unused function parameters. Remove
unused includes.
2002-04-28 11:16:43 +00:00
Mark Murray
c0bef837ba Remove GCC-specific flags. 2002-04-28 11:15:47 +00:00
Mark Murray
d629fa16d5 Trivial warnings fixes; staticise and use unsigned.
Use __FBSDID().
2002-04-28 11:13:20 +00:00
Mark Murray
791e544b6b Use __FBSDID, ANSIfy functions, fix const string. 2002-04-28 11:00:34 +00:00
Mark Murray
a827060a67 Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but
appropriate places.
2002-04-28 10:56:09 +00:00
Mark Murray
fb46863912 Style only; format function declarations, sort header includes, and
use __FBSDID().
2002-04-28 10:49:15 +00:00
Ian Dowse
72d12a7fae Oops, remove references to NLOCKED and NWANTED, now that they no
longer exist.
2002-04-28 10:24:38 +00:00
Bruce Evans
4cfce7a7a6 Removed unused forward struct declaration. 2002-04-28 09:51:45 +00:00