Commit Graph

115 Commits

Author SHA1 Message Date
plunky c269ebf72f use a MI major number for uhso(4) driver
(requested by mrg)
2010-03-06 23:45:38 +00:00
plunky 4677f8289f add major device for usho(4) driver 2010-03-06 21:31:50 +00:00
dyoung c1b390d493 A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
2010-02-24 22:37:54 +00:00
dyoung 3022acc4eb Expand PMF_FN_* macros. 2010-01-08 19:42:11 +00:00
uebayasi aa4916d952 More setttb() -> cpu_setttb() for readability & consistency. Missing instances
pointed out by tsutsui@ & nonaka@, thanks.
2009-12-28 03:22:19 +00:00
nonaka 7fea745bdc comment out KLOADER. 2009-12-21 11:20:07 +00:00
nonaka 82dabf8c63 comment out KLOADER. 2009-12-13 04:36:02 +00:00
nonaka 671ae66041 report collect charge state. 2009-12-12 14:29:34 +00:00
nonaka 90e9d6e92e Use mutex(9). 2009-12-12 13:12:49 +00:00
nonaka a75e0b5b4d use APM_BATT_FLAG_CHARGING. 2009-12-12 11:38:45 +00:00
nonaka c54868835c Use tpcalib_ioctl() instead of hpc_tpanel_ioctl(). 2009-12-12 07:49:31 +00:00
pooka 70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
nonaka 03f1dea832 enable WSDISPLAY_COMPAT_RAWKBD option. 2009-12-05 14:55:13 +00:00
nonaka 38bd070c5d pxartc(4) must set the device address. 2009-11-28 08:16:00 +00:00
rmind 3f18fe8123 - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.
2009-11-27 03:23:03 +00:00
matt 11af2f9cfa Kill proc0paddr. Use lwp0.l_addr instead. 2009-11-26 00:19:11 +00:00
pooka 09dbb89b44 If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.
This allows use of subr_disk_mbr on all archs.  Default to it for
the rump disk component.  No functional change for regular kernels.
(The other option would've been to include dkbad in disklabels
everywhere, but arguably this approach has less possible side-effects,
especially given that wedges and related magic will take over the
world any second now).
2009-11-23 13:40:08 +00:00
dyoung b504b9ff0b Use deviter(9) instead of accessing alldevs directly. Untested. 2009-11-05 18:11:09 +00:00
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