Commit Graph

832 Commits

Author SHA1 Message Date
yamt
23005df1e0 defparam PAGER_MAP_SIZE. 2007-10-25 13:03:03 +00:00
imp
d753725968 It is $NetBSD$ not $NetBSD%. Correct this typo. 2007-10-25 03:43:14 +00:00
garbled
d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
kiyohara
6a92649103 + Remove 'include "lcd.h"'.
+ It is easy to understand that memsize is added to physcal_freeend.
+ Add VERBOSE_INIT_ARM at befor/after with printf().
+ Call ddb_init() before db_machine_init().
+ Fix declered kgdb_devrate.
2007-09-16 14:04:16 +00:00
kiyohara
9f0e854e77 Remove white spaces. 2007-09-16 13:47:19 +00:00
kiyohara
e70a0d2e8c + Add comment at btuart.
+ Add INCLUDE_CONFIG_FILE and UFS_DIRHASH.
+ Add white space at file-system and enabled some file-system.
+ Comment-outed un-major devices.
+ Add stuirda, uchcom, ugensa.
2007-09-16 13:44:38 +00:00
kiyohara
d56611e9ca Replace white-space to Tab. 2007-08-21 12:43:33 +00:00
kiyohara
c4ab942136 Add gxiic and iic. However not test yet because I don't have I2C-LSI and
can't connect it.
2007-08-21 12:36:18 +00:00
kiyohara
2d6e84fcd5 Add option GXIO_DEFAULT_EXPANSION. This option is default 'netCF'.
Remove white-spaces.
2007-08-21 12:26:17 +00:00
kiyohara
a3adea9301 * Configure the GPIO to GXIO_DEFAULT_EXPANSION, if not specified 'busheader='
in boot args.
* Support NONAKA's <nonaka@netbsd.org> sdmmc.
* Add expansion target 'basix'.  This is to configure GPIO to PXA MCI.
    However, CardDetect is not connected as for mci of gumxtix. Therefore, it
    is not possible to Insert/Remove.
* Remove white-spaces.
* Change format in comments.
2007-08-21 12:01:55 +00:00
kiyohara
f1bbc2447a The initarm() should initialize GPIO. We must not initialize GPIO in
foo_attach() of the each drivers.  And, it is necessary to confirm whether
to be initialized in foo_match().  To avoid a dangerous configuring on the
evaluation boards.
2007-08-21 11:39:11 +00:00
kiyohara
7fbebc4263 Add btbc(4). 2007-08-20 00:54:41 +00:00
he
5200a497db Bump the symbol table size so that it fits again. 2007-08-18 09:45:08 +00:00
kiyohara
5d6dcf3d03 Add ARGSUSED. 2007-08-14 14:07:01 +00:00
pooka
ac9042f5ce remove TNF advertising clause from file copyrighted to me 2007-07-24 14:41:29 +00:00
dsl
af56a15a3c Remove "" from around option filename. 2007-07-15 11:56:04 +00:00
ad
63811f5275 Generic soft interrupts are mandatory. 2007-07-14 21:48:17 +00:00
he
f39d28c4bf Adapt to the new signature of callout_init(). 2007-07-12 22:02:38 +00:00
kiyohara
5f9e0be38f s/Gumstix, Inc./Gumstix. Inc./
Sync to i386's GENERIC 1.837
2007-07-12 02:37:47 +00:00
kiyohara
7e68bd52d9 This file supports Gumstix. Inc.'s gumstix. 2007-07-12 01:58:32 +00:00
he
e8108f3e5b Remove a spurious brace. 2007-07-11 19:50:27 +00:00
ad
88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
scw
9e1f0b7978 Bump SYMTAB_SPACE 2007-07-08 10:05:13 +00:00
scw
61366a1bd8 Make this build again now that sched_whichqs no longer exists. 2007-07-08 08:37:25 +00:00
simonb
015eeb4e7f Fix a tyop in a comment. 2007-06-22 04:50:47 +00:00
he
eaf1c9f7c3 Bump SYMTAB_SPACE so that it fits again. 2007-05-13 14:18:57 +00:00
kiyohara
0b8b4bf965 + Add file-system HFSP (commented out).
+ Add pxartc and lcd(commented out) and pxaudc and pxamci (commented out).
  lcd and pxamci not support yet.
+ Remove slhci.
+ Change name of expansion bords the console-{hw,st} from waysmall-{hw,st}.
  Because The gumstix Co. changed the name.
2007-04-20 13:22:21 +00:00
kiyohara
3af5743d0a Change to use pxapcic from sa11xx_pcic.
Support multiple socket.  But not tested.
2007-04-20 13:00:08 +00:00
kiyohara
e0c180145d Add whitespace and tab. 2007-04-20 12:48:52 +00:00
macallan
cd8fb15721 include files.wsfb 2007-04-10 02:29:42 +00:00
drochner
ab07e481e4 It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
2007-03-14 12:27:20 +00:00
thorpej
d1d10b58ab Make ipl_t and ipl_cookie_t 8-bit values. kmutex is now down to 12 bytes
(from 20) on ARM.

Approved by Matt Thomas.
2007-03-09 06:45:19 +00:00
matt
1f1847fbab Use uint8_t * instead of void */char * for ptr arithmetic. 2007-03-05 08:37:38 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
kiyohara
a7406f9d2d Reorder. 2007-03-01 14:58:54 +00:00
thorpej
8b3bae6275 TRUE -> true, FALSE -> false 2007-02-22 05:19:00 +00:00
kiyohara
3f7786a50b Indentation.
Move macro MMU_INIT.
2007-02-20 17:50:43 +00:00
kiyohara
60ea575b87 Indentation. 2007-02-20 17:48:13 +00:00
kiyohara
548878a8d8 Remove IPKDB, not need.
Indentation at cpu and mainbus.
2007-02-20 17:43:16 +00:00
kiyohara
e798fe7cb3 Remove white-space.
Indentation.
2007-02-20 17:29:33 +00:00
kiyohara
5ad2d7ced7 Add btuart. 2007-02-20 17:23:09 +00:00
briggs
de053ba2ef GUMSTIX and INSTALL both want to include pseudo-device md, so undefine it
in between for now.  Why does GUMSTIX need md?
2007-02-19 05:36:13 +00:00
briggs
370a7a67ca Convert evbarm to __HAVE_GENERIC_TODR. 2007-02-19 02:08:12 +00:00
ad
3363855a4a Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad
b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
hubertf
142c2a33ba Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
2007-01-24 13:08:11 +00:00
kiyohara
672e3eab7c Sorry...
btuart not yet.
2007-01-18 10:24:53 +00:00
kiyohara
a9dae91c04 Support com*.
Add options GXIO_BLUETOOTH_ON_HWUART, but not yet btuart.
Cleanup some configurations.
2007-01-18 10:15:20 +00:00
kiyohara
a847a1afbe Initialize GPIO of *UARTs and supports. 2007-01-18 10:06:47 +00:00
kiyohara
7dbdf0112d Use device_private() and aprint_*. 2007-01-18 10:02:55 +00:00
imp
74b072c012 Sam's npe support was ported from FreeBSD and is enabled in the NSLU2
kernel, so update the README to reflect a more current status of the
ethernet under NetBSD.
2007-01-17 16:00:20 +00:00
christos
ced82e8b4e New files from Bucky Katz 2007-01-06 08:16:26 +00:00
yamt
8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
nonaka
964e61ba35 compile again. 2006-12-18 15:32:10 +00:00
nonaka
751c643773 Bump up SYMTAB_SPACE. 2006-12-18 15:31:30 +00:00
nonaka
405a97b628 Fix evbarm compile again. 2006-12-18 15:30:56 +00:00
nonaka
225dafea20 cosmetic 2006-12-18 13:50:58 +00:00
nonaka
4ed55699c1 Bump up SYMTAB_SPACE. 2006-12-17 10:27:33 +00:00
scw
94359b8f74 Ditch the messy "disk access" polling code. There was no way to
determine accurately which LED to illuminate.

Instead, hook into the PCI[ABC] interrupt chains (used solely for the
USB controller) and use the disk1/disk2 LEDS to indicate general USB
activity.

Use the "Ready/Status" LED as a CPU activity indicator by hooking the
TMR0 interrupt and illuminating the LED if the CPU is non-idle.
2006-12-10 10:23:37 +00:00
scw
b95de082ef Add watchdog and NPE Ethernet support. The latter is not well tested
on IXDP425 since the PHYs fail to probe my board. This may be due to
an incompatibility between the stepping A0 CPU and the microcode.

Additionally, the MAC addresses are not configured by Redboot, so more
work is needed in this area.
2006-12-10 10:12:22 +00:00
scw
9a59c269b4 Add NPE Ethernet and watchdog support.
Ethernet is enabled by default, but will be non-functional without
a microcode image from Intel. See arch/arm/xscale/ixp425-fw.README.
2006-12-10 10:08:05 +00:00
scw
4152e66e28 Adjust watchdog reset register base. 2006-12-10 10:04:40 +00:00
wiz
6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
wiz
d6a98601a8 s/heirarchy/hierarchy/, from Zafer. 2006-11-24 21:20:05 +00:00
he
cb4c2207ba Add a netbsd-sd0 kernel, so that the corresponding gzimg can be built. 2006-11-11 23:50:54 +00:00
jmmv
7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
scw
814254d821 Add an install kernel for CP3100. 2006-11-09 00:28:37 +00:00
scw
5bfa580df1 Add support for the Certance CP-3100.
"The Certance CP3100 product family provides high-end disk-to-disk-to-tape
(D2D2T) functionality for small-to-medium businesses."

To software, the unit is very similar to the IQ80321 and IQ31244 eval
boards from Intel. As such, we share almost all of their code.

Onboard hardware:
 - IOP321 XScale CPU. Core clock is 600MHz.
 - 256MB SDRAM (not sure if that's true for all)
 - Four-port Intel i31244 SATA controller. One port is connected to the
   internal disk. The remaining three are available on the back-panel.
 - Dual GigE ports on the back panel, using an Intel i82546EB controller.
 - Two Symbios Logic 53c1010 SCSI controllers, one in host mode the other
   in target mode. Both SCSI busses are available on the back panel.
   Note that NetBSD does not support SCSI target mode.
 - 8MB of NOR Flash, containing a fairly vanilla Redboot together with
   a minimal compressed Linux image.
 - Some front-panel LEDS (not supported).
 - Serial console.

Contributed by Wasabi Systems, Inc.
2006-11-08 23:49:02 +00:00
he
af0b64f490 Bump SYMTAB_SPACE so that it fits again. 2006-10-25 20:46:48 +00:00
he
b773aa1b24 Bump SYMTAB_SPACE so that it fits again.
Hm, this port doesn't error out the build if it doesn't...
2006-10-25 20:44:57 +00:00
bjh21
695ea57fe2 parse_mi_bootargs() is declared in <arm/arm32/machdep.h>, so there's no need
to declare it here too.
2006-10-24 21:09:03 +00:00
kiyohara
29ee4e3d02 Add $NetBSD$. 2006-10-17 17:06:22 +00:00
kiyohara
ec59b85f32 Comment out slhci* at pcmcia, because testing now. 2006-10-17 16:57:55 +00:00
kiyohara
60e982e820 Add initial support for the PXA255-based gumstix board. 2006-10-16 16:40:14 +00:00
chs
e8295642bd remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
elad
65792a0340 More from Matt Fleming:
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
2006-10-01 20:31:49 +00:00
elad
e8373398dc Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks! 2006-10-01 18:56:21 +00:00
bjh21
e10108c7f2 Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere. 2006-09-03 13:51:23 +00:00
matt
00185e0248 Make these compile again. (#include <arm/ep93xx/epgpioreg.h> and
do the proc -> lwp changeover).
2006-08-31 17:53:19 +00:00
christos
e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui
6ff205ce76 Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
skrll
1a3062e81b s/adpater/adapter/
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
christos
b300b74469 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +00:00
drochner
84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
cube
cad5e9a56c Remove "atapibus* at umass?" and "scsibus* at umass?" when there is
already an attachment to the interface attribute (atapi and scsi).

Part of PR#34085, although it is the contrary to what the submitter
suggests (which shows that having both in a config file can be confusing).
2006-07-26 07:00:23 +00:00
ad
f474dceb13 Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
gdamore
34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
drochner
a3464e1d27 use the "i2cbus" interface attribute rather than putting a string name
into the i2cbus attach args
2006-06-26 18:21:38 +00:00
nonaka
a1a022c748 Added more register define. 2006-06-08 23:27:47 +00:00
imp
4bacc0092a The Intel sight has changed slightly, so tweak wording on how to get the
intel documentation necessary for the ethernet driver.
2006-05-18 20:13:14 +00:00
mrg
663096a642 remove 'inline' from the xxx_do_pending() function that is called from
external sources, and conflicts with it's prototype.
2006-05-17 05:15:26 +00:00
mrg
b6779d7cc2 in initarm(), initialise kernel_l1pt.pv_va as well as kernel_l1pt.pv_pa. 2006-05-17 04:22:46 +00:00
mrg
fc6ae28683 redo the previous. GCC4 wants both pv_pa and pv_va initialised. 2006-05-16 21:39:26 +00:00
mrg
d9911429b9 remove a shadow extern decl for ifpga_do_pending(). 2006-05-16 21:38:14 +00:00
mrg
f69243b6b2 move the initialiser for kernel_l1pt.pv_va to pacify GCC4. 2006-05-16 21:35:47 +00:00
elad
8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
thorpej
fb44a8574b Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
yamt
ffb731e056 adapt to iostat change. 2006-04-22 09:11:45 +00:00
drochner
1168954c68 adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson
2006-04-19 10:31:44 +00:00
pooka
37c14369ab Define the dcache size so that we can run our own homegrown cache
flush routine during startup.  XXX: I have absolutely no idea where
this managed to pick up DCACHE_SIZE from before.

closes port-evbarm/33276 by Peter Postma
2006-04-17 20:44:30 +00:00