Commit Graph

998 Commits

Author SHA1 Message Date
joerg
2201ddb77c Add u3g entries in kernels that have ugensa as well. 2008-10-19 11:34:31 +00:00
pgoyette
7a91225cc4 Move all platforms to new dbCool driver in preparation for removal of
chip-specific drivers
2008-10-07 12:43:31 +00:00
tsutsui
216fead6b1 Remove obsolete options I2OVERBOSE. 2008-09-20 18:19:11 +00:00
matt
b1623157a5 Cleanup OMAP2 files. Change most omap2430* to omap2_*. This is in
preperation for the OMAP 3530 (OMAP 3) support.  Some 3530 definitions
added.
2008-08-27 11:03:09 +00:00
matt
0e6db102ac Fix thinko (brain fart) 2008-08-12 15:16:31 +00:00
matt
196a1048f5 Enable __HAVE_FAST_SOFTINTS 2008-08-07 03:59:49 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
matt
45df48f8af The performance counter based delay function depends on a correct frequency
setting, do this for H4, which runs on a known fixed core frequency.

Submitted by Irme Deak <imre.deak@teleca.com>
2008-07-03 06:16:17 +00:00
matt
c62a0ac493 Add AT91 support. (XXX need to finish timecounter support). 2008-07-03 01:15:38 +00:00
bsh
db59b3aaa6 KERNEL_BASE_EXT is mandatory after matt-armv6 merge 2008-06-30 08:18:11 +00:00
perry
10cfc49bff __FUNCTION__ -> __func__ 2008-06-30 00:46:41 +00:00
hamajima
045f7eb611 Fixed addr and size of eppcic0. 2008-06-29 05:42:24 +00:00
tsutsui
c8f3692590 Fix inverted logic of IXP425_GPIO_GPOER register bits in the previous.
Pointed out by Piotr Durlej on port-arm@.
2008-06-28 15:00:13 +00:00
he
9a4020480e Bump SYMTAB_SPACE so that it fits again. 2008-06-27 21:10:38 +00:00
kiyohara
b4161c5190 Change SYMTAB_SPACE=400000 from 380000. 2008-06-24 07:13:21 +00:00
kiyohara
768e748678 Fix macro KERNEL_BASE_EXT from KERNEL_EXT_BASE. 2008-06-22 08:27:18 +00:00
cegger
634954287e use device_lookup_private to get softc 2008-06-11 23:24:43 +00:00
hamajima
842797c2cc revise for reorganized MI i2c_bitbang.c 2008-06-10 13:53:28 +00:00
tsutsui
bdb5991549 Emulate open collector output more properly to make it work with
reorganized MI i2c_bitbang.c:
- set GPOER register in set_dir function too according to GPOUTR value
- in set_bits function, don't set SDA_BIT implicitly in input mode and
  check current direction to handle GPOER register
- no need to check direction in read_check function because reading SCL
  is valid even if SDA is output

Tested by Donald T Hayford on port-arm.
2008-06-09 15:42:25 +00:00
tsutsui
6b0322861b Add options COMPAT_40 to files which have options COMPAT_30. 2008-05-30 20:10:01 +00:00
hamajima
fa8ddac44a fix gpio port direction for i2c_wait_for_scl(). Armadillo9 works again. 2008-05-25 04:03:31 +00:00
matt
082a2ff75b Back out SD/MMC inclusion which shouldn't have been comitted. 2008-05-14 01:58:29 +00:00
kiyohara
2438bca8bf Split device_t/softc. 2008-05-11 08:23:17 +00:00
martin
5d1469bd77 Backout previous: the license sweep touched these files in error, so
restore the old license.
2008-05-10 15:31:03 +00:00
matt
4c3e78343a Add KERNEL_BASE_EXT=0xc0000000 to those plaforms that need it.
Note that armv6 and later systems will use 0x80000000 as the kernel start
so they can use the split TTBs in armv6 and later.
2008-05-09 00:08:37 +00:00
martin
3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
matt
825088eda6 Merge kernel changes in matt-armv6 to HEAD. 2008-04-27 18:58:43 +00:00
ad
a2249ef75c Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE. 2008-04-21 12:56:30 +00:00
scw
38ba2c7267 Adapt to the recent i2c_bitbang changes, which provide more hints as to
the SDA/SCL pin direction, by treating the direction as just that; a hint.

Instead, configure the SDA/SCL pins as outputs only when they are to
be driven low (zero). Otherwise configure them as inputs and allow the
pull-up resistors to do their jobs.

Check the SDA direction hint only if DIAGNOSTIC.

Fixes a problem reported by Donald T Hayford on port-arm@ whereby the
kernel failed to read/write the RTC's registers.
2008-04-19 20:49:31 +00:00
dogcow
3c06a7cd5b reinstate SYMTAB_SPACE (but with a large enough size this time.) 2008-04-15 01:04:10 +00:00
dogcow
77c109342d Fix "symtable too small" error by removing smaller-than-default SYMTAB_SPACE. 2008-04-13 19:51:58 +00:00
tsutsui
703736dfc6 Fix botches in the previous. 2008-04-04 09:33:07 +00:00
tsutsui
4090172b20 Don't forget to initialize sc_dev. 2008-03-29 05:42:45 +00:00
tsutsui
048fb884fc Split device_t and softc for MI mc146818 clock,
and other related misc cosmetics.
2008-03-28 19:05:49 +00:00
cube
7aa6248cdf Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
2008-03-18 20:46:35 +00:00
kiyohara
7f2e285540 Clean up for includes of board independent driver. 2008-03-17 09:30:02 +00:00
he
02e88f9885 Adapt to device_parent() taking a device_t, not a struct device *. 2008-03-16 16:08:57 +00:00
rearnsha
667f59c8dd Allow use of the VFP. 2008-03-15 10:30:51 +00:00
cube
607ead0ef4 Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend).  Use proper types and ansify where appropriate.
2008-03-14 15:09:09 +00:00
cube
816c3531d9 Split device_t and softc, catching up with changes of all other ne(4)
variants.
2008-03-14 11:51:06 +00:00
rafal
b061c2d0d0 Fix syntax for the BUILD_STARTUP_PAGETABLE case. 2008-03-10 16:48:13 +00:00
drochner
bb33f35f20 Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
2008-02-20 21:43:33 +00:00
chris
67bda63986 Add an arm/conf/std.arm file which contains common arm options, initially
just options CPU_IN_CKSUM.

Include std.arm in all arm platform std files.

This should reenable the asm in_cksum code for all arm platforms.

Also remove the now unused in_cksum_arm.S.
2008-01-27 12:37:10 +00:00
kiyohara
fa0b00252c Update and add some options/devices. 2008-01-27 06:23:38 +00:00
joerg
3615cf7715 Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
2008-01-20 18:09:03 +00:00
joerg
4e56cdd20a Convert evbarm to timecounter. Only one of the systems was tested, the
rest of the patch is compile-time tested only.
2008-01-20 16:28:22 +00:00
chris
131e68c2e1 Remove arm support for IPKDB.
It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
2008-01-19 13:11:09 +00:00
he
953b540396 Increase SYMTAB_SPACE to 270000 so that the symbol table fits again. 2008-01-18 09:48:30 +00:00
tsutsui
db09bcc34f Move todr_attach(9) calls from each MD attachment to MI mc146818_attach(). 2008-01-10 15:17:39 +00:00
dyoung
a826619d34 Make the 'tags' target produce some useful tags. 2008-01-10 07:34:02 +00:00
joerg
30cd7dc199 assym.h dependency. 2008-01-08 17:46:31 +00:00
matt
6bc0c58216 As of this commit, all arm32 kernel now build. 2008-01-08 02:07:50 +00:00
matt
f4f1c6c970 More kernels SYMTAB_SPACE increased. 2008-01-08 02:06:43 +00:00
matt
04a4a202ed include "conf/std" 2008-01-08 02:05:30 +00:00
matt
0c0de8072e Cleanup softint lossage. 2008-01-06 01:37:53 +00:00
matt
3ef8cd67cc Increase SYMTAB_SPACE because of more kernel bloat. 2008-01-06 01:35:34 +00:00
ad
fbed3be26c Make compile. 2008-01-05 12:40:34 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
ad
8044d72190 Make compile (hi moof). 2007-12-22 01:21:41 +00:00
perry
9b2b412c19 __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00
ad
065b6ba2fb lockmgr -> mutex 2007-12-06 17:00:31 +00:00
ad
4b293a84e1 Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
2007-12-03 15:33:00 +00:00
kiyohara
a1297d6f3f Add bcsp(4). 2007-12-02 05:19:11 +00:00
marty
d8b9a7ea7c Increase SYMTAB_SPACE to 264000 so the release kernel will compile 2007-12-01 06:52:12 +00:00
ad
dc26833bb6 - Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
2007-11-19 18:51:36 +00:00
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
jmmv
4208ccaafa Properly pass down the 'vs' cookie to pxa2x0_lcd_ioctl calls. Pointed out
by he@.
2006-04-17 15:59:47 +00:00
nonaka
407f05e765 A port of NetBSD to the I-O DATA HDL-G "Giga LANDISK".
Please refer to following URL for this machine.
http://www.iodata.com/products/products.php?cat=HNP&sc=HDL&ts=2&tsc=14&sc=HDL&pId=HDL-G400U
2006-04-16 02:22:33 +00:00
jmmv
aec18036fd Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
christos
cf974ddc9d Adjust for new io_stats 2006-04-15 06:24:40 +00:00
simonb
f4dfb02e67 Bump SYMTAB_SPACE. 2006-04-14 10:36:56 +00:00
jmmv
7a51d4dddc Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
thorpej
39cd836ee1 Use device_unit(). 2006-03-28 17:38:24 +00:00
thorpej
3328b5dfae Use device_parent(). 2006-03-26 04:27:57 +00:00
scw
12dc74f622 RB_POWERDOWN trumps RB_HALT. 2006-03-11 09:09:41 +00:00
lukem
a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
he
8aa8bfed52 Remove another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
2006-03-07 23:32:53 +00:00
scw
5f212af961 Document the Flash layout, and how RedBoot invokes the kernel bootloader. 2006-03-04 13:17:18 +00:00
scw
3be7ae7547 The Slug's clock no longer runs slow. The default value of COUNTS_PER_SEC
was incorrect.
2006-03-04 11:28:36 +00:00
scw
ea5beb6718 Override the default timer frequency. Turns out the NSLU2's timers are
clocked at exactly 66.0MHz.
2006-03-04 11:27:12 +00:00
scw
c9e50b3c22 Simpify GPIO bits for power/reset buttons, and squash a (mostly harmless)
bug in the GPIO pin direction code.
2006-03-01 21:02:50 +00:00
scw
6f6167730e A port of NetBSD to the Linksys NSLU2 (a.k.a. "Slug").
The NSLU2 (Network Storage Link for USB 2.0 Disk Drives) is a small, *cheap*
NAS device consisting of an Intel IXP420 (Xscale) CPU, a 10/100mbit Ethernet
port, and two USB 2.0 ports. It has 32MB of SDRAM and 8MB of Flash memory,
and runs RedBoot/Linux out of the box. Now it can also run NetBSD.
2006-02-28 20:40:33 +00:00
thorpej
132ce1f07f Use device_is_a() 2006-02-26 05:24:52 +00:00
he
dee010acfb If the local variable changes name, modify it's uses as well. 2006-02-23 23:57:57 +00:00
he
afa1898cb0 Fix an obvious typo (missing closing paren). 2006-02-23 23:57:32 +00:00
thorpej
458b3e43f7 Use device_parent(). 2006-02-23 05:37:46 +00:00
thorpej
3ddf26777f Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.
2006-02-20 16:50:36 +00:00
thorpej
680d9eea68 - Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
  associates the MAC address property with the epe device instance.
2006-02-18 05:04:11 +00:00
hamajima
9290fbe544 identify model from DeviceCfg register, and delete "options ARMADILLO210".
get DRAM information and boot argument from bootloader.
2006-02-13 12:24:21 +00:00
hamajima
b0ff3653c2 Add support for the Atmark Techno Armadillo-210.
Armadillo-210 is subset model of Armadillo-9.
2006-02-06 14:03:22 +00:00
cube
6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
he
021927bcf2 Bump SYMTAB_SPACE to make it fit again. 2006-02-04 09:11:32 +00:00
rpaulo
df5390003c bpfilter doesn't accept count anymore. 2006-02-04 02:42:27 +00:00
christos
606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
bouyer
bf1a4d2af5 properly use ata_channel->ch_ndrive:
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
  for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.

From Christos Zoulas in kern/32501.
2006-01-16 20:30:18 +00:00
he
b1bcd0ffae The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here.  Also adapt to the new zlib with the changed name
for the header file.
2006-01-16 19:34:53 +00:00
yamt
6d12f0a6d7 implement splraiseipl() for the following ports.
evbarm, iyonix, cats, netwinder, acorn26

reviewed by Bill Studenmund.
2006-01-01 14:24:33 +00:00
chs
33d70de438 remove the COM_MPLOCK option. always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).
2005-12-27 00:46:38 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00