Commit Graph

989 Commits

Author SHA1 Message Date
pooka
835e533be4 Remove unused count (invariably "4") from pseudo-device fss. 2010-04-16 13:48:27 +00:00
kiyohara
abcc88b537 More SYMTAB_SPACE.
Enable wsmux for udl.
2010-03-15 13:18:59 +00:00
kiyohara
fa7c24a083 XXXX: More power is necessary for NIC and USB? (no document. from Linux)
tested on verdex + console-vx + netCF-vx
  and verdex-pro + netpro-vx + consoleLCD-vx.
2010-03-15 13:16:56 +00:00
kiyohara
0d23f6e0df Use bus_space_write_2() instead of _1, because sm(4) is 16bit/word. 2010-03-15 13:11:23 +00:00
bsh
4308bedb7d add SD/MMC driver for Twintail based on the driver for Zaurus. 2010-03-13 11:37:47 +00:00
bsh
95e7a9c9b7 apply struct device split to the rest of the drivers for Twintail. 2010-03-13 11:26:42 +00:00
bsh
b58b20fe01 fix LCD drivers for Lubbock and Twintail.
- pass correct attach args to pxa2x0_lcd_attach_sub()
  - make this driver compile without wsdisplay again.
2010-03-13 11:15:52 +00:00
bsh
622048aac2 fix changes for struct device split for Lubbock. 2010-03-13 11:13:31 +00:00
bsh
b292093df8 pass correct atttach args to sacc_probe() 2010-03-13 10:55:09 +00:00
plunky
04e2ab6ae6 add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
    - (cross-)build tested all these kernels
2010-03-07 09:39:42 +00:00
kiyohara
1067f44885 Reorder included headers. 2010-03-07 09:29:26 +00:00
kiyohara
edd541011a Add options GUMSTIX_NETBSD_ARGS_CONSOLE and GUMSTIX_NETBSD_ARGS_BUSHEADER.
Can specify arg 'console='(*new*) and 'busheader=' from u-boot.  These args
  use dynamically configuration.
Also change function name.  s/_line/_liner/.
2010-03-07 09:18:51 +00:00
kiyohara
ef3d09f0de Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595. 2010-03-07 07:33:29 +00:00
joerg
d621e29eca Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.
2010-02-08 19:02:25 +00:00
snj
cbd4507895 Include locators.h for SSIOCF_ADDR_DEFAULT. 2010-02-05 21:10:58 +00:00
kiyohara
36e1ccd0db Please calculate KERNEL_PT_KERNEL_NUM from KERNEL_VM_BASE.
Moreover, can define KERNEL_VM_BASE somewhere. (ex. in conf/YOUR_GUMSTIX)
  For instance, allow miniroot.fs over 16Mbytes.
2010-01-24 03:46:48 +00:00
martin
f9e1815aaf Unify the name of the device property to hold a MAC address - there was
no clear majority for either "mac-addr" vs. "mac-address", but a quick
gallup poll among developers selected the latter.
2010-01-22 08:56:04 +00:00
kiyohara
2211e20194 Add udl(4). Tested on verdex-pro and LCD-8000U. 2010-01-03 09:52:16 +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
uebayasi
fe705f1018 Add write-through cache work-around for ARM11 as well as ARM9/ARM10. Analyzed
& tested on i.MX35 with help from Tsubai Masanari.
2009-12-27 05:14:56 +00:00
uebayasi
998f9b1597 Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no
functional changes.
2009-12-26 16:01:23 +00:00
uebayasi
cb96e85ab2 Garbage collect an unused global, vm_offset_t pagetables_start. 2009-12-26 15:47:14 +00:00
pooka
bb27c3b9ac unifdef -D UGEN_BULK_RA_WB
Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.
2009-12-23 01:04:45 +00:00
tsutsui
471e528b58 Remove `volatile' qualifier from argument types of
struct timeval passed to todr_gettime(9) and todr_settime(9).
We no longer have an ancient and volatile struct timeval `time'
global since we have switched to MI timercounter(9) on all port.

XXX1: some of these RTC drivers still assume 32bit time_t
XXX2: some of these should be rewritten to use todr_[gs]ettime_ymdhms()
XXX3: todr(9) man page doesn't mention todr_[gs]ettime_ymdhms()
2009-12-12 14:44:08 +00:00
kiyohara
c5b6dd5921 Remove null-line. 2009-12-07 08:58:48 +00:00
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