Commit Graph

699 Commits

Author SHA1 Message Date
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
briggs
23dfb2cd67 Add files that have been sitting in my local source tree for almost exactly
two years.  Unable to test since I no longer have access to the hardware.
2005-12-22 16:17:24 +00:00
tsutsui
f521bf5b9b Adjust a comment for options FFS_NO_SNAPSHOT. 2005-12-17 16:33:30 +00:00
briggs
c9d34b2987 Add an offset to the I/O port translations. This allows IQ80321
and others to avoid providing PCI I/O space at address 0.
Iyonix, however, needs to provide PCI I/O space at 0.
The others require I/O space to be offset in part due to a bug
work-around in wm(4) which requires that I/O space access be used
to reset the controllers.  If I/O space is mapped at zero, the card
claims, but ignores, the transactions, and the controller doesn't
get reset properly and can't then be used.
2005-12-15 01:44:00 +00:00
briggs
ae315be3b6 Bump SYMTAB_SPACE. 2005-12-14 16:21:55 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tsutsui
ff9b47d69e Adjust comments for options FFS_NO_SNAPSHOT.
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
he
6eb2140bc3 Bump SYMTAB_SPACE so that the symbol table fits again. 2005-12-05 22:30:38 +00:00
thorpej
cfc81086d9 swcr -> swcrypto 2005-11-25 16:41:31 +00:00
thorpej
7385cdd346 "pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself.  Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24 Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
2005-11-25 16:30:23 +00:00
yamt
bc21da4cfb bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
2005-11-24 13:08:32 +00:00
dbj
8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
hamajima
201a955e8e delete unknown options.
change root device to "?".
2005-11-14 05:09:31 +00:00
hamajima
5c90fb9a2f Add initial support for the EP9315-based Atmark Techno Armadillo-9 board. 2005-11-13 06:33:05 +00:00
hamajima
14dc884cf3 add #include <arm/ep93xx/epgpioreg.h>. 2005-11-12 05:34:28 +00:00
yamt
7e71f567e4 include "conf/std". 2005-09-17 09:44:05 +00:00
drochner
727527c99b remove "dev" locators from cardbus device definitions, it doesn't
make sense technically and might be removed
2005-09-09 16:26:19 +00:00
kleink
aece7a90fd Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
drochner
44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
christos
93c362d7ef Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels 2005-08-19 05:19:49 +00:00
christos
758a209d23 64 bit inode changes. 2005-08-19 02:03:49 +00:00
he
1aaad1fbee Follow up the type change of i80200_extirq_dispatch which now takes
an irqframe* and not a clockframe* as argument.
2005-08-14 19:23:17 +00:00
joff
e52bd93601 The configuration used for the NetBSD/toaster demo by
the NetBSD booth during LinuxWorld Expo 2005.
2005-08-14 04:35:45 +00:00
joff
6463cb5191 Since we disabled the LCD and matrix keypads in the default kernel, supply
this configuration which has them both enabled.
2005-08-14 04:34:41 +00:00
joff
c8bc480520 add toastersensors device 2005-08-14 04:33:49 +00:00
joff
389660b05a Add attachments for the 4 possible configurations of the TS-DIO24 on the
PC104 bus.  Also, comment out the tslcd and tskp drivers by default.  Enabling them
prohibits end-user use of the GPIO and LCD headers for other things.
2005-08-14 04:30:08 +00:00
joff
1b548227c4 Toaster inputs (burnlevel potentiometer, toast down sensor) and
matrix keypad/wskbd attachment glue for polling/debouncing
the 5 front-panel buttons.
2005-08-14 04:18:30 +00:00
joff
27727f52ec Add magic i/o location for the MAX197 ADC 2005-08-14 03:05:00 +00:00
joff
120d51244b Support for the TS-7200's optional TMP124 temperature sensor via sysctl 2005-08-14 03:03:48 +00:00
joff
92e361f3ad hd44780 porting layer for readreg/writereg now takes an extra "enable" argument. 2005-08-14 02:58:40 +00:00
skrll
1293f7a748 Add (commented out) ucycom to various kernel configs. 2005-08-05 09:23:16 +00:00
yamt
38ca5312d2 revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
yamt
558fded29a add "options VMSWAP" to non INSTALL kernels. 2005-07-30 06:35:34 +00:00
tron
04b9c3437f Add (commented out) IPSEC_NAT_T option. 2005-07-07 17:05:46 +00:00
pooka
5b4bcc52c2 Adapt conf for PXA2X0 split to PXA250 and PXA270. 2005-07-04 14:10:23 +00:00
bsh
be2e0be463 adapt to changes for PXA270 support. 2005-07-04 00:47:49 +00:00
bsh
c48d9c757e option CPU_XSCALE_PXA2X0 is now obsoleted by CPU_XSCALE_PXA2[57]0. 2005-07-04 00:46:04 +00:00
bsh
af51d61dc0 make this compile again.
+ fix wrong prototype for obio_search()
 + avoid warning by const.
ANSIfy obio_search()
2005-07-03 18:10:53 +00:00
drochner
996c273eda adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes 2005-06-30 17:03:51 +00:00
drochner
b081eee072 convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
2005-06-28 18:29:58 +00:00
atatat
df13e3579e Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
2005-06-20 02:49:18 +00:00
dyoung
a37289db57 Make disklabel(8) and fdisk(8) into "host tools " last step: build
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel,
${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to
the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/.

To avoid clashes with a build-host's header files, especially on
*BSD, the host-tools versions of fdisk and disklabel search for
#includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h,
and bootinfo.h in a new #includes namespace, nbinclude/.  That is,
they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>,
<nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and
such.  I have also updated the system headers to #include from
nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-12 19:46:15 +00:00
pooka
d42ccd3441 Add initial support for the PXA255-based Arcom Viper ARM board.
The system can boot into multiuser, but most of the peripheral
driver attachments are still missing.

Thanks go to Jan Nyman for arranging access to the hardware and to
Steve Woodford for reviewing the code.
2005-06-06 20:24:10 +00:00
he
cc129440dd Fix -Wcast-qual warnings, unfortunately using __UNCONST() for sysctl()
function parameters.
2005-06-04 22:40:03 +00:00
he
fb96dc834d Rename an (unused) argument to appease -Wshadow. 2005-06-04 20:19:47 +00:00
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
rearnsha
f1bd8659de Include arm/bootconfig.h rather than duplicating common code. 2005-06-04 13:39:20 +00:00
rearnsha
b1f70d4d2d Fix shaddowed declarations of cn_trapped. 2005-06-04 13:38:08 +00:00
rearnsha
0d4235a6ac Fix shaddowed declaration. 2005-06-04 13:35:05 +00:00
rearnsha
2de4086f52 Enable use of the CM1136J-s core module on the Integrator. 2005-06-03 15:56:49 +00:00
rearnsha
a53d9d9c2a Disable some debugging options, add space for the symbol table. 2005-06-03 15:41:39 +00:00
rearnsha
4987034e09 Fix the v6 boot check: A '6' in the architecture field really means
Architecture v5TEJ.
2005-05-25 09:20:33 +00:00
christos
7cdea212c0 No 0x in front of %p... 2005-05-22 15:54:45 +00:00
rearnsha
c28a42708d Add a couple of sanity checks in case someone tries to boot the kernel
on a CM board that we can't support.  In essence that means any board
without an MMU.  For now also fault v6 based CPUs since the kernel
doesn't know how to handle these yet.
2005-05-21 11:46:56 +00:00
rearnsha
492fb6662e Use makeoptions CPUFLAGS not COPTS. 2005-05-07 22:22:02 +00:00
bsh
6c6d96d112 dependencies for .BEGIN is not accepted by the latest nbmake. 2005-05-03 14:51:42 +00:00
itohy
d665949330 Add ukyopon(4). 2005-04-15 17:27:20 +00:00
scw
1cc2a2688d Add support for the DMA and AC97 controllers on PXA2x0, and enable them
on the Lubbock evaluation board.

Many thanks to Hiroyuki Bessho for testing this driver with the new
aurateconv interface, as I no longer have access to the hardware.

Contributed by Wasabi Systems, Inc.
2005-04-13 07:42:28 +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
bsh
25645b8f42 modify comments for clarity.
Original comments made several people misunderstand that the comment
says kernel's pagetable is at 0xa0004000.  What the comment says is
about RedBoot's pagetable.
2005-03-18 11:22:23 +00:00
bsh
d608de2069 include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
2005-03-18 08:50:07 +00:00
bsh
a5d9dab3e0 Switch kernels for Lubbock and TwinTail to use pmap_devmap to map
I/O registers that are used in early start-up stage.  Also stop using
special bootstrap-time-only bus_space_map function in {lubbock,g42xxeb}_machdep.c.

This makes initarm() for them a bit simpler, and gives us smaller diffs
to other evbarm platforms.
2005-03-17 16:22:56 +00:00
bsh
4c5c06097c Switch SMDK2410 and SMDK2800 kernels to use pmap_devmap_bootstrap() to map
I/O registers that are used in early start-up stage.  This replaces the
special bootstrap-time-only bus_space_map function in smdk{2410,2800}_machdep.c.

This makes SMDK{2410,2800}'s initarm() a bit simpler, and gives us smaller diffs
to other evbarm platforms.

An another good thing for SMDK2800 is that now we have all built-in peripheral
registers mapped in 2 segments.  We may expect less TLB miss on I/O access
(very slightly).
2005-03-16 05:02:12 +00:00
bsh
513d8a771b move a few definitions to smdk2800var.h to share them between smdk2800_machdep.c and smdk2800_start.S 2005-03-11 14:28:52 +00:00
joff
b9ac414499 Use special spaces for ISA that don't assert USER CS# 2005-03-09 21:19:59 +00:00
bsh
a7d17de7d6 delete unused stuff. 2005-03-08 16:51:44 +00:00
bsh
3066388bf6 add install kernels for SMDK2410/2800.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
2005-02-27 02:25:09 +00:00
bsh
53259c6163 sync pseudo device part with other platforms.
disable pseudo-device md (enabled in SMDK2800_INSTALL)
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
2005-02-27 02:18:34 +00:00
bsh
6c82f22455 This file is not used.
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
2005-02-27 02:02:02 +00:00
simonb
798eed2639 Watch out for those unexpected tains. 2005-02-26 12:00:52 +00:00
bsh
629db0b989 TWINTAIL (official product name is G4255EB) is an evaluation board
with Intel PXA255 processor from Genetec corp.  You can get some
information on the board from http://ad.genetec.co.jp/ but only in Japanese.
2005-02-26 10:49:53 +00:00
bsh
94b724fc67 align md_root_loadaddr to word boundary. 2005-02-26 10:45:29 +00:00
bsh
355d1500b7 fix xi@pcmcia configuration 2005-02-26 10:30:56 +00:00
bsh
b42e2b64d1 Fix kgdb_port_init() to make it compile with options KGDB. 2005-02-26 10:22:41 +00:00
simonb
ff8f0b23c9 Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.
2005-02-25 13:46:48 +00:00
joff
7f97da202c Add sysctl tree hw.tspld.* for query of jumper states, pld revision,
board model/options, etc...
2005-02-24 03:52:22 +00:00
rearnsha
3351f73643 Add on-board CompactFlash device. 2005-02-19 16:57:58 +00:00
rearnsha
7af50b5bf5 Add support for the on-board CompactFlash card. 2005-02-19 16:56:04 +00:00
rearnsha
575ff76f8f Add bus-space write-multi-2 and read-multi-2 methods. 2005-02-19 16:55:11 +00:00
dsl
4822cbaae2 Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT 2005-02-18 21:05:50 +00:00
rearnsha
ef3f4c0f7e DMA on the i31244 is now enabled by default. 2005-02-12 10:23:21 +00:00
rearnsha
16574672f1 Document the types and addresses of the IIC devices
(Disabled, beacuse they seem to be non-functional at present).
2005-02-12 09:59:29 +00:00
rearnsha
fdac3760e5 ... but make it's filesystem type FFS (not NFS :-). 2005-02-12 09:54:36 +00:00
rearnsha
3633c570d2 Build a kernel variant with root on wd0. 2005-02-12 09:53:27 +00:00
rearnsha
d8a87d92cb Bump the symtab space 2005-02-12 09:51:05 +00:00
rearnsha
6085be19d6 Redboot defaults to a console speed of 115200 baud on this board. 2005-02-12 09:49:40 +00:00
rearnsha
699b0c2c38 This board has a 33.0 crystal, so the counter speed comes out at 198MHz 2005-02-12 09:45:49 +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
joff
32262aa8f2 Support a wsdisplay(4) attachment on a tslcd 2005-02-04 06:02:36 +00:00
joff
93f6c1c28a keysyms off-by-one in numbering 2005-02-04 05:48:12 +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
joff
564073f0d1 Add support for a 4x4 matrix keypad wskbd connected via the TS-7200 DIO header. 2005-01-31 06:12:35 +00:00
joff
204717149e Enable atu, vnd, and kttcp by default 2005-01-24 02:40:00 +00:00
joff
8506af05a4 Fix mem/io extents usage. Previously had been mis-using the bs_cookie for a bs_tag. 2005-01-24 02:38:15 +00:00
joff
f61320850a whoops, had intr mask inverted 2005-01-24 02:36:04 +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
joff
b6b2f0d2df Use hd44780var.h instead of hd44780_subr.h 2005-01-11 00:59:06 +00:00
joff
fdb2df8f5f enable pcic(9) PCMCIA controllers in default kernel 2005-01-09 21:44:32 +00:00
joff
6b75e7b0f9 Allow for pcic(9) attachments on the ISA bus 2005-01-09 21:40:02 +00:00