Commit Graph

29 Commits

Author SHA1 Message Date
he
4d1d8d6c84 Remove spurious second argument to sizeof(). 2004-06-06 13:34:36 +00:00
wiz
1249084227 "panicking" needs a k. 2004-05-16 15:44:10 +00:00
itojun
aca4c091d3 sprintf -> snprintf 2004-04-22 00:17:10 +00:00
scw
07d1f9c942 After re-checking the docs in response to a port-mvme68k question,
don't claim to support D8 local-bus->VMEbus transfers.
2004-04-02 14:14:18 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
he
22d88e6c63 Omit declaration of "device lpt" in files.mvme; this is now done by
the recently introduced files.ppbus.
Also, let the mvme68k port use it's own lpt implementation for now,
so define USE_ALT_LPT option in std.memv68k.
This makes the mvme68k kernels configure and build again.
2004-01-30 09:42:01 +00:00
scw
91c88f7f6b In the match routine, check to see if we can access the SCSI controller's
registers without generating a bus error. This can happen on some board
variants which have no SCSI controller.
2003-11-26 14:29:37 +00:00
scw
e6085b4b12 A couple of fixes inspired by a recent port-mvme68k post:
- Fix the display of VME master ranges such that the address modifier
   is shown correctly.

 - Apply vr_mask to the start/end VME master addresses, and adjust
   the local start address to compensate.
2003-11-26 14:27:15 +00:00
he
b158245614 Fix another instance where `offset' might have been used uninitialized,
by adding a non-DEBUG default: and a panic().
2003-11-09 14:26:15 +00:00
dsl
f4d417c4a9 Add default: and panic() when DEBUG undefined so that 'offset' is
not used uninitialised.
2003-11-07 19:16:01 +00:00
tsutsui
6fa76b3b92 No need to include <dev/ic/mk48txxreg.h> here. 2003-11-01 22:42:23 +00:00
matt
e633976ebd Elminate GCC uninitialized variable warning. 2003-10-28 18:21:49 +00:00
wiz
db579612f4 Definition, not defintion. From miod@openbsd. 2003-09-26 22:25:21 +00:00
thorpej
91b8f572a8 Move the prototype of clock_rtc_config() into <dev/clock_subr.h>. 2003-07-18 19:20:55 +00:00
lukem
365cbd9428 add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
wiz
1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
thorpej
52d8769e0b Use PAGE_SIZE rather than NBPG. 2003-04-01 02:01:43 +00:00
he
0a235da1cd Add inclusion of <sys/lock.h> to allow compilation of usage of
MALLOC() to succeed.
2003-03-07 12:40:12 +00:00
thorpej
72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
jdolecek
e0cc03a09b merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
thorpej
c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej
71adb76f75 Use CFATTACH_DECL(). 2002-09-30 21:57:46 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
gehenna
77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
scw
7e69c325c1 Fix a botch from the dev/mvme split for kernels with no vmetwo in
the config file.
2002-03-24 17:22:32 +00:00
scw
08bde987bb Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
2002-02-12 20:38:43 +00:00
scw
8c75e475ba Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
2002-02-12 20:38:41 +00:00
scw
5bd17a1271 Separate out devices common to many Motorola mvme boards (68k, 88k and ppc)
in preparation for future mvmeppc and mvme88k ports.

This needs a bit if tidying up to make it trully shareable, which will
happen as the new mvme ports are added.
2002-02-12 20:38:09 +00:00