itohy
3fd01cc3f8
Add -D__daddr_t=int32_t so that the arguments of IODC are
...
not promoted to 64bit.
On 32bit PDC machines, IODC *requires* 32bit args and IODC
can handle only 2GB, and need not to use 64bit integer.
2003-10-21 12:35:23 +00:00
itohy
59f09ea752
Fix types of printf() args to match the format strings.
2003-10-21 12:26:27 +00:00
itohy
76595c213b
Enable disklabel support.
2003-10-21 12:24:11 +00:00
itohy
d71dd6d1f4
#if 0 unused parts.
2003-10-21 12:22:37 +00:00
itohy
a57f5d5d08
Use ../common/libsa.h for prototype declarations of common functions.
...
Add tgets prototype (should be in some header file?).
2003-10-21 12:21:05 +00:00
itohy
1bb2ee7654
Add prototypes.
2003-10-21 12:19:24 +00:00
itohy
9833e639a8
Add a prototype.
...
Silence -Wshadow.
2003-10-21 12:18:02 +00:00
kleink
004922cd70
Don't use NULL in integer-type assignments/comparisons.
2003-10-21 12:08:11 +00:00
agc
c61c0de641
Fix integer/NULL confusion.
2003-10-21 12:02:32 +00:00
lukem
1d648e9064
add installboot
2003-10-21 11:35:55 +00:00
skrll
ee632a37d0
more NULL fallout.
2003-10-21 10:47:48 +00:00
lukem
31903eec7b
Add installboot. Suggested by Curt Sampson.
2003-10-21 10:08:40 +00:00
lukem
130ab7336b
Rework how MAKEVERBOSE operates:
...
* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.
* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
itojun
73704c4ce4
NULL/integer mixup
2003-10-21 09:42:07 +00:00
agc
492f508473
Don't use NULL inappropriately.
2003-10-21 09:32:54 +00:00
wiz
1dbb52e92c
Fix typos, from Jared Yanovich. Forwarded by jmc@openbsd.
2003-10-21 09:03:25 +00:00
petrov
fd995d7327
More NULL vs not pointer.
2003-10-21 09:02:50 +00:00
agc
0833278c93
Don't compare the return value of strncmp(3) against NULL - it's an integer.
2003-10-21 08:46:15 +00:00
itojun
e0a77c7886
mention sysctl(8) interface for SADB_DUMP
2003-10-21 08:44:04 +00:00
petrov
2ba6e4bf47
don't assign/compare integer and NULL.
2003-10-21 08:43:32 +00:00
petrov
9aefdf5971
Don't assign/compare integer and NULL.
2003-10-21 08:38:04 +00:00
petrov
688c2d65e3
Don't use NULL for integer.
2003-10-21 08:31:11 +00:00
petrov
e092522bfc
Don't use NULL for an int comparsion.
2003-10-21 08:27:20 +00:00
petrov
73c14af7a1
don't use NULL for an int initialization.
2003-10-21 08:26:31 +00:00
petrov
de7eafdbf8
don't initialize an int with NULL.
2003-10-21 08:20:15 +00:00
skrll
601de4df8c
Rename dsrtc to ds1687rtc to avoid conflicting with the MI i2c
...
ds1307 driver.
Hi Jason.
2003-10-21 08:15:39 +00:00
petrov
1176590ac1
don't use NULL for u_long initialization.
2003-10-21 08:12:46 +00:00
skrll
c6935c341a
Remove the channel locator in atapibus* at umass?
2003-10-21 08:03:16 +00:00
itojun
a5b0232610
backout previous; pf and crypto are moved to common majors range
2003-10-21 07:46:50 +00:00
itojun
8386af6745
major for pf/crypto
2003-10-21 07:38:22 +00:00
agc
c5275d9ccd
Don't redefine NULL
2003-10-21 07:26:39 +00:00
itojun
dda2494d07
aes-xcbc-mac is now an RFC. bump date.
2003-10-21 07:20:11 +00:00
agc
68f1651086
Tidy up the previous isdigit(3) boolean check.
2003-10-21 06:34:26 +00:00
simonb
45cf1137ea
Remove break after return.
2003-10-21 06:22:46 +00:00
simonb
7feb1a91fa
Remove return after panic().
2003-10-21 06:22:16 +00:00
thorpej
abc7f80ca5
- Map I/O space on chips that support it. While it is not used for
...
normal operation, it is required to implement a bug work-around on
some chips.
- When issuing a reset on the i82544, i82540, i82545, i82546,
and i82541, use I/O space, if available, to work around a problem
with the memory write cycle (problem only occurs when issuing
a reset).
2003-10-21 05:45:11 +00:00
thorpej
f44ddf324f
Fix a typo.
2003-10-21 05:07:10 +00:00
thorpej
0143773bbc
Add some additional register definitions needed for newer chips:
...
- Control register shadow
- SPI EEPROM stuff
2003-10-21 04:39:32 +00:00
thorpej
2cadb9ce85
Record characteristics of the bus connection at attach time.
2003-10-21 04:35:01 +00:00
fvdl
8b99487c1e
Define NULL as (void *)0, unless C++ is being used.
2003-10-21 03:27:32 +00:00
fvdl
ce7e811d1d
And the wise man said: An u_int32_t is not a pointer, my young apprentice,
...
so thou shalt not compare it to NULL.
2003-10-21 03:24:25 +00:00
fvdl
c9aca9f010
Don't pass NULL as an integer value.
2003-10-21 03:22:25 +00:00
fvdl
6a6c3ca82f
Don't assign NULL as an integer.
2003-10-21 03:06:55 +00:00
fvdl
73d47a4f07
Don't return NULL as an integer.
2003-10-21 03:03:39 +00:00
fvdl
0526a13bc6
Don't compare an int to NULL.
2003-10-21 03:01:44 +00:00
fvdl
705a39bc93
Don't compare an int to NULL.
...
Some whitespace nits.
2003-10-21 03:00:41 +00:00
fvdl
1cb8eb7415
Don't compare an int to NULL.
2003-10-21 02:58:50 +00:00
fvdl
03de13db6e
Fix a few cases where NULL was used as integral value.
2003-10-21 02:55:43 +00:00
fvdl
cddedd60f8
Don't compare an int to NULL.
2003-10-21 02:53:57 +00:00
fvdl
b6d9b01a54
Don't compare a char to NULL.
2003-10-21 02:53:02 +00:00