Commit Graph

964 Commits

Author SHA1 Message Date
dyoung
3dedfc004f Simplify the device-activation hook. Move some of the device
deactivation to the detachment routine, where it belongs.
2009-12-06 21:33:45 +00:00
kiyohara
f551a32a10 Add ukphy(4). 2009-12-06 12:23:24 +00:00
kiyohara
92ea44f8c3 Add drvctl.
Update some bluetooth related comments.
Remove some white-spaces.
2009-12-06 09:40:51 +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
kiyohara
daaee09935 Call pxa2x0_clkman_config() instead of ioreg_write(). 2009-12-02 13:10:09 +00:00
kiyohara
21d3db4d12 Enable latest bluetooth module (Infineon PBA31308). 2009-12-02 13:05:09 +00:00
kiyohara
9de4dc009f Fix print message. 2009-11-29 10:08:15 +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
mbalmer
0ae57f90dd more s/the the/the/ 2009-11-22 19:09:15 +00:00
kiyohara
04ffa2b739 Move definition 'void gxlcd_cnattach(void)' to gumstixvar.h. 2009-11-22 12:05:14 +00:00
kiyohara
64ba3e027a Add GPIO configuration 'LCD backlight on'.
Remove 'XXXX' in comment.  That GPIO config is power on the Marvell 88W8385.
2009-11-22 12:00:56 +00:00
rmind
7721462952 Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage. 2009-11-21 20:32:13 +00:00
kiyohara
16ef4dd6d8 The variable ckenreg is used only when defined macro {FF,ST,BT,HW}UARTCONSOLE. 2009-11-21 08:41:38 +00:00
kiyohara
f97cdf80e0 Fix a bug.
sc = device_private(self);
  sc->dev = self;
2009-11-21 08:33:50 +00:00
cegger
9480c51b04 Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
2009-11-07 07:27:40 +00:00
uebayasi
997d28a770 Informative comments instead of useless blank lines. 2009-11-05 16:28:09 +00:00
cegger
62cf489d8e kill extra whitespaces
reviewed by tsutsui@
2009-10-26 19:16:54 +00:00
snj
7e82f68c7b Switch to a 2 clause license. Approved by joff@ (copyright holder). 2009-10-23 00:39:29 +00:00
rmind
f95af63371 Drop 3rd and 4th clauses from Ichiro FUKUHARA's license.
Reviewed and approved by ichiro@ (copyright holder).
2009-10-21 14:15:50 +00:00
bsh
0c0e7d064d add options COMPAT_50 to all evbarm boards. 2009-10-11 16:20:22 +00:00
skrll
dc89c66367 Deal with the following change to ld:
* The default output section LMA has changed for allocatable sections from
  being equal to VMA, to keeping the difference between LMA and VMA the same as
  the previous output section in the same region.  This is a more useful
  default when using overlays and other cases where you specify an LMA
  differing from the VMA for some sections.
2009-09-26 07:29:55 +00:00
tsutsui
3b0a685f2b Split device_t/softc. Tested only on cs at ofisa on shark. 2009-09-22 14:55:19 +00:00
dyoung
5619bf1cbb isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t. 2009-08-19 15:14:59 +00:00
dyoung
47b66b70d9 These are stragglers from my last commit ("Let us safely detach
the ISA bus and devices attaching to the ISA bus").  Define
isa_detach_hook() in MD ISA implementations.  Define isa_dmadestroy().
2009-08-18 17:02:00 +00:00
kiyohara
60a987241b Use __UNCONST(). 2009-08-15 10:18:17 +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
1c10f508e4 Support verdex and verdex-pro.
And
    + Support LCD controller.
    + Support SMSC LAN 9117 Ethernet controller.
    + Comment outed 'options GXIO_DEFAULT_EXPANSION'.  As for verdex-pro being
      sold now, this option becomes obstructive.
    + Remove some usb devices in GUMSTIX.
    + Update GUMSTIX.

Also
 Fix ARM ABI in gumstix_start.S.  Thanks Brett Slager <bds at ifgd.net>.
 Calculate RAM size in gumstix_start.S.
2009-08-09 07:10:13 +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
dyoung
57ba504b86 device_t/softc split. Compiled, but never run. 2009-07-21 16:04:16 +00:00
he
5bfe080527 Adapt to changes in sa11x0 code, with struct device * -> device_t changes. 2009-05-31 17:47:26 +00:00
rjs
4c494f7678 Make the following changes:
struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_
device_t/softc split
2009-05-29 14:15:44 +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
pgoyette
e59bbd6c14 Missed this file in previous commit. This finished updates required
to enable support of i2c quick_{read,write} operations.
2009-04-20 12:58:33 +00:00
marty
03ff44a9b2 Increase SYMTABLE_SIZE so it'll compile again. 2009-04-14 06:22:31 +00:00
cegger
e2cb85904d bcopy -> memcpy 2009-03-18 17:06:41 +00:00
cegger
c363a9cb62 bzero -> memset 2009-03-18 16:00:08 +00:00
cegger
df7f595ecd Ansify function definitions w/o arguments. Generated with sed. 2009-03-18 10:22:21 +00:00
dsl
7cc9af7d64 ANSIfy functions with function-pointer arguments 2009-03-16 23:11:09 +00:00
dsl
82357f6d42 ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl
454af1c0e8 Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
dsl
02cdf4d2c8 Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
2009-03-14 14:45:51 +00:00
joerg
f5b0fec0e0 Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
2009-03-06 20:31:46 +00:00
kenh
cd2827b367 Improved support for GPIO support on the EP93xx ARM processors.
Specifically:

Support disabling specific pins on specific ports.
Modification of TS7200 kernel config file for GPIO support.
Documentatin for the current and improved GPIO interface (epgpio).
2009-02-27 03:13:55 +00:00
he
cc9abff897 Also include <arm/cpu.h> here for the required definitions of
curcpl() and set_curcpl(), so that kern_ssp.c builds here as well.
2009-02-14 12:44:20 +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
he
a5e21717ca Another port which needs <arm/cpu.h> added as in include due to
the new kern_ssp.c.
2009-02-13 21:08:40 +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
1a6860067f - device_t/softc split.
- use aprint_* function.
2009-01-29 12:28:15 +00:00
nonaka
1eedc8251a Oops, sdmmc related device must be commented out. 2009-01-29 10:33:22 +00:00