Commit Graph

36874 Commits

Author SHA1 Message Date
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
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
fvdl
7a6172fe2e Fix NULL assignment to an integer field. 2003-10-21 01:54:23 +00:00
fvdl
80d06975ab Fix int vs. NULL comparison. 2003-10-21 01:45:25 +00:00
fvdl
a08babb013 NULL -> 0 for preempt() argument. 2003-10-21 00:49:34 +00:00
fvdl
a7ee73261e Correct argument to preempt(). 2003-10-21 00:46:09 +00:00
briggs
1ce6ced119 As suggested by Jason Thorpe, rename m41t to m41trtc. 2003-10-20 16:24:10 +00:00
jdolecek
bf6449bbff add major for wsfont 2003-10-20 16:20:53 +00:00
briggs
795751a888 Add i2c and the m41t00 RTC on the i2c bus. 2003-10-20 15:37:46 +00:00
simonb
d4b0d4911f Remove some numeric asm labels that aren't used. 2003-10-20 05:52:55 +00:00
simonb
066683efa3 Need Data Relocate in the MSR for the dcbf in pmap_procwr().
From Matt Thomas.
2003-10-20 05:47:52 +00:00
matt
421dd6cc28 Reorganize the way powerpc port install machine specific headers.
Use <powerpc/oea/bat.h> exclusively and remove <machine/bat.h> and
<powerpc/bat.h>.  Remove unneeded <machine/cpufunc.h>.  To insure
1:1 correspondence of <powerpc/FOO.h> to <machine/FOO.h> include
"../../powerpc/include/Makefile" in "arch/FOO/include/Makefile".
Incororpate <byte_swap.h> into <bswap.h> and then byte_swap.h
2003-10-20 00:12:09 +00:00
kleink
bb07f8defb Add COMPAT_16. 2003-10-19 22:00:01 +00:00
he
536bcfc87a Adapt to the new wdcattach() signature. 2003-10-19 19:29:50 +00:00
matt
e43846141a Remove unused header.
Don't install kernel-only headers.
2003-10-19 18:56:39 +00:00
he
d37f50098a Adapt to the new wdcattach() signature. 2003-10-19 18:49:25 +00:00
fvdl
e9ee9a82c7 Don't use err and trapno from a copied in mcontext. 2003-10-19 18:14:42 +00:00
cl
ed9c2d7075 don't uvm_swapout LWPs which are LSONPROC on another cpu.
uvm_swapout_threads will swapout LWPs which are running on another CPU:
- uvm_swapout_threads considers LWPs running on another CPU for swapout
  if their l_swtime is high
- uvm_swapout_threads considers LWPs on the runqueue for swapout if their
  l_swtime is high but these LWPs might be running by the time uvm_swapout
  is called

symptoms of failure: panic in setrunqueue

fixes PR kern/23095
2003-10-19 17:45:35 +00:00
jdolecek
e66b4221b3 add major for ksyms, and add the comment about MD major range 2003-10-19 16:51:04 +00:00
ragge
90f561b5ff Add lcspx console device driver. 2003-10-19 15:03:25 +00:00
ragge
a893520c07 Add console text device driver for the LCSPX framebuffer. Really dump,
cannot change colours, and is really slow; I haven't found how to buffer
writes to the console yet.
2003-10-19 15:02:17 +00:00
ragge
9fb208fc0a Avoid the pvtable when devices are mapped. Fixes panics when unmapping
framebuffers.  Set aside space in kernel map for framebuffer on VS4k.
2003-10-19 14:58:22 +00:00
ragge
836c5d5ec4 Allow mmap() of /dev/mem. 2003-10-19 14:56:28 +00:00
ragge
89d60ed8ea Fetch SCSI controller ID from nvram for VS4k90 also. 2003-10-19 14:54:24 +00:00
he
5e5a2bb96f Make this compile as a tool; we need to pick up the target's
sys/bootblock.h header in that case.
2003-10-19 11:34:27 +00:00
matt
3dc55c1216 Add IBM Network Station 1000 port. From John Gordon and updated by me. 2003-10-19 03:33:49 +00:00
matt
ba34947f80 Add powerpc-specific isa and isadma machdep code. (Merge common code from
prep and sandpoint and ...)
2003-10-19 03:19:32 +00:00
uwe
437e63c180 __KERNEL_RCSID. 2003-10-19 02:22:56 +00:00
uwe
738a5e234e Config glue for j6x0tp(4). 2003-10-19 02:21:40 +00:00
uwe
e4bd58b011 Driver for Jornada 680 touch screen. 2003-10-19 02:20:25 +00:00
itohy
29f0f3babf Change the location of BSD disklabel not to overlap with LIF header.
LABELSECTOR:  0 -> 1
	LABELOFFSET: 64 -> 0

per discussion on NetBSD mailing lists: port-hp700 and tech-kern.
2003-10-18 23:45:30 +00:00
uwe
a2a5c1629e Make intc_intr_priority() return old level. While here, make the code
more compact by factoring out register update to happen in one place,
outside the switch statements.

Add intc_intr_disable() and intc_intr_enable().
2003-10-18 23:21:35 +00:00