Commit Graph

640 Commits

Author SHA1 Message Date
he
aafdb08c5a Fix the various todr_gettime() and todr_settime() fallouts from
-Wcast-qual differently, by instead changing the signatore of those
"functions" to take a "volatile struct timeval*" instead of a
"struct timeval*".  Many places, these functions are called with
&time, and time is declared as volatile in <sys/kernel.h>.  This
way we can get rid of all the ugly casts which now also triggered
warnings, and caused more code to be added to work around the
problem.

Reviewed by thorpej.
2005-06-04 20:14:24 +00:00
tsutsui
64cdf507bf workaround for volatile struct timeval time vs todr_*() arg mismatch. 2005-06-03 12:32:44 +00:00
tsutsui
09ae8cb89e - constify
- remove arg names from prototypes
2005-06-03 12:31:38 +00:00
tsutsui
da084245a6 Add const. 2005-06-03 12:30:53 +00:00
tsutsui
d47c2236f6 - add const
- fix the second arg of config_rootfound()
2005-06-03 12:29:43 +00:00
tsutsui
e7376add84 Fix for gcc -Wshadow. 2005-06-03 12:29:00 +00:00
tsutsui
f7e6e3b4da Add a const. 2005-06-03 12:11:17 +00:00
tsutsui
c32e803d9a Add const. 2005-06-03 12:08:50 +00:00
tron
a97eb895f6 Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
chs
b0a8a83e7b remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them. 2005-05-31 00:45:02 +00:00
jmc
9406861425 Don't need realdepend/realall depends anymore now that .BEGIN is fixed 2005-05-11 16:55:31 +00:00
jdolecek
4d515665c5 assign major for nsmb(4) 2005-05-10 00:02:35 +00:00
tsutsui
239b1361f7 Ecoff kernels are no longer needed. 2005-05-07 14:15:05 +00:00
lukem
3fd1802e62 Move the MI printing of `copyright' to the MD cpu_startup() code
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
2005-04-25 15:02:02 +00:00
thorpej
f14aa82677 netbsd.sgimips -> netbsd.arc 2005-04-23 17:35:53 +00:00
tsutsui
ab74ed35be Whitespace nits. 2005-04-21 13:52:27 +00:00
tsutsui
be6229fd96 Check disklabel contents only if it's read from the disk. 2005-04-21 13:34:29 +00:00
tsutsui
447f26406d standalone boot is done. 2005-04-19 12:12:28 +00:00
tsutsui
4eaafdc8ac Remove MBR and MSDOSFS binaries which were imported from OpenBSD but
maintained at all. Our current fdisk(8) and newfs_msdos(8) work enough
to create a bootable disk on NetBSD/arc.
Ok'ed by soda.
2005-04-18 16:39:44 +00:00
tsutsui
749f06ffa8 Remove files which was imported from OpenBSD/arc but not used/maintained.
Ok'ed by soda.
2005-04-18 16:32:38 +00:00
tsutsui
b28c4afbba Add a long-awaited standalone boot program for arc port to load
ELF kernels instead of booting ECOFF kernels directly by ARCBIOS.
Tested on my NEC-J96A and NEC-JC94, and ok'ed by soda.

XXX: Maybe we should share some of these sources with sgimips
XXX: (in sys/dev/arcbios/stand?)
2005-04-18 16:27:54 +00:00
tsutsui
e5d26b19a8 arc/algor dir was removed long ago.
BTW, is "make tags" still maintained?
2005-04-18 15:59:51 +00:00
yamt
6b2d8b66a4 merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
matt
6196dae15e Fix typo. 2005-03-11 06:58:11 +00:00
matt
a6db24a485 Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create).  dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
2005-03-09 19:04:43 +00:00
thorpej
df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
dsl
4822cbaae2 Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT 2005-02-18 21:05:50 +00:00
drochner
0717077eea The joystick driver is using mi timing code for many months.
Noone complained, so we can remove the unused md versions.
2005-02-18 15:39:17 +00:00
dsl
05e2f6ebdb Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.
2005-02-11 08:25:53 +00:00
hannken
d5fbb6936f Add file system snapshots to kernel configs.
- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
  have a disk.  Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
rumble
de81c2c878 Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
commented out and labeled experimental pending further review and
testing.
2005-01-28 03:19:49 +00:00
tsutsui
ec0d5b6338 Use TAILQ_* macro. 2005-01-22 11:08:18 +00:00
tsutsui
7310abde32 Make all intr_mask value types uint32_t rather than int, u_int,
or unsigned etc.
2005-01-22 08:43:02 +00:00
tsutsui
a510ad6a78 More ansify and KNF. 2005-01-22 07:56:28 +00:00
tsutsui
66f3c84b7a bzero -> memset 2005-01-22 07:44:33 +00:00
tsutsui
6f188aed1d Use M_ZERO flag for malloc(9) and remove bzero(9). 2005-01-22 07:44:08 +00:00
tsutsui
7fe2a5a003 - remove __P()
- use ANSI function decls
- u_intNN_t -> uintNN_t
- some KNF
2005-01-22 07:35:33 +00:00
tsutsui
a8633fb248 Unload xfer dmamap in asc_dma_stop(). 2005-01-22 07:32:05 +00:00
tsutsui
33c4640b37 Add options COMPAT_20. 2005-01-21 12:11:30 +00:00
cube
ec53a61e98 Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also.  With the exception of i386's
GENERIC_TINY.

XXX:  we _need_ some way of making this more simple.
2005-01-17 15:28:51 +00:00
skrll
3d4f3981f0 Make this compile 2005-01-15 13:05:45 +00:00
skrll
c0cd9d1765 s/u_int_t/u_int/ in structure member declaration. 2005-01-15 13:03:40 +00:00
tsutsui
b2a044cc20 Remove (void *) casts added to NULL. 2005-01-01 04:00:25 +00:00
thorpej
d41e8f00bf Don't use "struct scsi_generic" in a hardware-defined structure. Instead,
use an array of 12 bytes.  Check the incoming CDB to see that it will fit,
and print and error and fail the command if it won't.
2004-12-07 14:50:56 +00:00
thorpej
7a60e77293 bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811
2004-11-28 17:34:45 +00:00
bouyer
fe4d81db48 pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).
2004-11-24 20:49:17 +00:00
christos
30fc143afa Add COMPAT_BSDPTY to the rest of the config files. 2004-11-10 17:54:02 +00:00
yamt
05f25dcc2a move buffer queue related stuffs from buf.h to their own header, bufq.h. 2004-10-28 07:07:35 +00:00
thorpej
dc2f2fbe74 Centralize the declaration of booted_device and booted_partition. 2004-10-23 17:07:37 +00:00
drochner
2db688402b adapt to ISA "unknown address" namespace separation (purely mechanical,
as far as "grep" reaches)
2004-09-14 20:32:48 +00:00