Commit Graph

97 Commits

Author SHA1 Message Date
matt
b2a95bab1e Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
2009-08-11 17:04:14 +00:00
kiyohara
eb34e284af Fix matching by improper driver.
see http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html

And remove some white-spaces.
2009-08-09 06:12:33 +00:00
kiyohara
56ab546296 Fix GPIO configurations.
http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html
    3. I misstake sinse 2007/08/21.
	 :

Details:
  Remove hwuart_gpioconf.  PXA270 not have HWUART.
  Add ohci_gpioconf.  However all selectable.
  Fix pSKTSEL of pcic is selectable.
  Fix MMDAT<1-3> of mci is optional.
2009-08-04 12:11:33 +00:00
nonaka
e0297d1ead Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
2009-04-21 03:00:29 +00:00
nonaka
53f7d89de9 zaudio(4): Support recording. 2009-04-18 05:20:21 +00:00
nonaka
553bcc9952 Use <bsd.klinks.mk> to create ${MACHINE} and ${MACHINE_ARCH} symlinks. 2009-04-13 12:25:36 +00:00
uwe
9a25b0cb7f Switch apmdev to use apm(4) structures from dev/apm/apmvar.h.
Add batteryid argument to aa_get_powstat method implementations.
2009-04-03 04:13:17 +00:00
nonaka
f0b5e260c9 Don't use kloader_reboot() when after panic. 2009-03-16 12:54:52 +00:00
nonaka
34b391d563 avoid assertion. 2009-03-15 02:23:52 +00:00
nonaka
a3bafaad7a zaudio(4) works now. 2009-03-13 13:55:18 +00:00
nonaka
16877da791 check pmap_enter() return value. 2009-03-11 13:05:05 +00:00
nonaka
2dfa5fff78 collect same processing. 2009-03-11 09:10:39 +00:00
nonaka
04bd9a8218 fix typo. 2009-03-11 09:04:50 +00:00
nonaka
a17a94caeb Reports the residual quantity of the battery in detail. 2009-03-11 09:04:31 +00:00
nonaka
15d23a2f88 Added kloader support. 2009-03-11 09:02:04 +00:00
nonaka
53eee523f0 use pmf(9) instead of powerhook_*. 2009-03-03 18:42:19 +00:00
nonaka
26e1684598 fix make release. 2009-03-03 09:20:55 +00:00
nonaka
af901e6821 Added zboot from OpenBSD. 2009-03-02 09:33:01 +00:00
apb
0cc72e51ac Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.
2009-02-13 22:41:00 +00:00
jym
92ae85d18e Changes to MEMORY_RBFLAGS option:
- renamed to MEMORY_DISK_RBFLAGS to better fit the rest of the
MEMORY_DISK options(4)
- change default value to RB_AUTOBOOT instead of RB_SINGLE, and adapt
the config(5) files accordingly
- document this option inside options(4)

See also http://mail-index.netbsd.org/tech-kern/2008/12/25/msg003924.html

Reviewed by abs@ in private mail.
2009-02-06 18:50:26 +00:00
nonaka
664df27b21 Use pmf(9) instead of powerhook_*. 2009-01-29 16:00:33 +00:00
nonaka
5990ab686a revert a part of previuos change. 2009-01-29 12:51:15 +00:00
nonaka
1a6860067f - device_t/softc split.
- use aprint_* function.
2009-01-29 12:28:15 +00:00
nonaka
371e3e9538 device_t/softc split. 2009-01-28 14:15:56 +00:00
nonaka
4c493daea6 don't print cable detect messages. 2009-01-28 14:06:15 +00:00
nonaka
501e4dcfea mention MODULAR. 2009-01-28 13:43:40 +00:00
nonaka
7ef31c0f0f Added SCSI bus and devices. 2009-01-28 13:39:41 +00:00
nonaka
baf3c7ae33 cosmetic 2009-01-28 11:55:38 +00:00
nonaka
fab8af8b88 -kernel output is set to green.
-symbol is contained.
2009-01-28 11:53:46 +00:00
nonaka
99f6189dca Pass address and intr to pxadmac. 2009-01-28 11:28:00 +00:00
nonaka
bcb22b31f8 GENERIC is replaced by GENERIC.HOSTUSB. 2009-01-28 11:19:20 +00:00
mrg
c6a4afa995 add COMPAT_50 to all the configs with COMPAT_40. 2009-01-24 05:06:05 +00:00
ober
dd55503e8f Initial APM support for Zaurus. Ported from OpenBSD by mjf@. 2008-12-06 22:12:36 +00:00
ad
6ba528b5bc Remove softdep, pass 1. We are focused on improving journalling.
Proposed on tech-kern@.
2008-11-24 11:41:07 +00:00
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
dyoung
94d985722a It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
2008-11-11 06:46:40 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
tls
fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
cegger
61f21080d9 use device_lookup_private to get softc 2008-06-13 13:57:58 +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
nonaka
9f287f4baf increase bsdimage size. 2008-04-11 16:43:49 +00:00
nonaka
ded7276f3f - zaurus uses MBR
- Added fdisk to ramdisk
- increase ramdisk size
2008-04-10 15:45:29 +00:00
chris
a839529a7e Increase the Zaurus INSTALL memory disk size to match the size of the
ramdisk created by the distrib files.
2008-04-01 00:01:14 +00:00
chris
e2d485abc4 Add GENERIC.HOSTUSB kernel for zaurus.
This allows a Zaurus to act as a USB host, rather than client device.

Tested on a C3000 with USB NIC. I've added most usb devices to the kernel
as I'd expect USB devices just work.

Eventually this will disappear once switching from host to device
controller mode is supported.
2008-03-31 23:40:44 +00:00
chris
53030734c6 Add GPIO pins for USB cable type detection and glue for zusb devices for
config.
2008-03-31 23:35:39 +00:00
chris
ed87ed8b00 Add zusb device for powering on the USB port. Also configure USB port 2
via the client USB on the pxa270, as it appears USB port 2 is the
externally routed port.

The linux driver was used as documentation for GPIO pins and port
settings.

Note that this only seems to work for one boot, a reboot loses for some
reason, perhaps something in the USB client area needs to be configured.

XXX: perhaps we should make zusb a device that attached/detaches the USB
USB host or client device depending on the plugged in cable.
2008-03-31 23:32:43 +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