Commit Graph

119305 Commits

Author SHA1 Message Date
thorpej
fa32a2cf94 - Since we access PCI config space as 32-bit words, redefine the PCI-X
command register bits offset and shifted appropriatly (PCI-X command
  makes up the upper 16 bits of the register that holds the PCI-X cap ID
  and next-cap-pointer).
- Define shift counts for max memory read byte count in the command
  and status registers.
2003-10-21 16:22:48 +00:00
wiz
4452a32353 Talk about LKMs instead of klds. /sys symlink is dead, so
use longer path for source files. Remove an unnecessary dot.
2003-10-21 16:21:55 +00:00
tsutsui
e6a659ad96 The 6th argument to extent_create() is size_t, don't pass NULL in it. 2003-10-21 16:19:04 +00:00
tsutsui
281b9dfec6 vaddr_t is not pointer, so don't compare it against NULL. 2003-10-21 16:17:18 +00:00
tsutsui
62486dcbeb - Use one 'atabus* at ata?' instead of multiple 'atabus* at XXXide? channel ?'
- Comment out piixide. (can it be attached on cobalt?)
2003-10-21 15:09:19 +00:00
tsutsui
bf4d10546f vaddr_t is not pointer, so don't compare it against NULL.
(BTW, should we also fix "NULL" in following printf messages?)
2003-10-21 15:05:56 +00:00
tsutsui
fa49899d30 Add bswap64.c, required by options FFS_EI. 2003-10-21 14:49:00 +00:00
drochner
e342c5fcb3 Explain the font loading example a bit better, to avoid a misunderstanding
which caused PR misc/21069.
2003-10-21 14:43:23 +00:00
itohy
29baf4fd02 white space police 2003-10-21 13:10:42 +00:00
itohy
173218ef29 Slightly change the base address so GENERIC kernel may boot (but not confirmed). 2003-10-21 12:43:19 +00:00
itohy
87bcaf3acc 1.2: Support disklabel. 2003-10-21 12:40:15 +00:00
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