Commit Graph

182813 Commits

Author SHA1 Message Date
matt
0ad7ebe8ea Revent change to printf. (why can't __func__ concat with other string?) 2009-08-10 16:50:18 +00:00
matt
e1bf8f4b35 Compare vaddr_t against 0, not NULL. 2009-08-10 16:49:30 +00:00
martin
1d37d9399f Use __sparc_v9__ instead of __sparc64__ - this hack is due to arch dependend
pmap peculiarities, and does not cover sparc64 code when compiled
with -m32.
2009-08-10 12:04:17 +00:00
simonb
570522d1c8 Tab police. 2009-08-10 11:46:42 +00:00
tteras
ea830abf58 Don't print EAGAIN error from pfkey_handler(), it can occur normally
under some code paths and is not a hard error in any case.
2009-08-10 08:22:13 +00:00
matt
0e5be1dc2f Change kvtopte and kvtophys from ({ }) to static inline and while there
make them tolerable of rump.
2009-08-10 08:05:32 +00:00
haad
4837c664b3 Add raidframe module dir. Rf needs some fixes before it can be used as a
kernel module.
2009-08-10 07:19:11 +00:00
haad
58d687496c Add solaris and zfs kernel modules build directories. These modules will
not be built during release build until we import other kernel patches needed.
2009-08-10 07:16:06 +00:00
yamt
44484fcfa9 an example. 2009-08-10 02:56:23 +00:00
haad
5200b9b492 Add enum uio_seg argument to do_sys_mknod and do_sys_mkdir so these functions
can be called from kernel, too.

Change needed for zfs device node creation, until we have propoer devfs.

Oked by ad@.
2009-08-09 22:49:00 +00:00
matt
2a393d1c69 Add no options VMSWAP_UAREA and options ENABLE_MIPS_16KB_PAGE.
Gdium now gets as far as the root prompt.
2009-08-09 22:26:45 +00:00
matt
ee9482ada7 Add makeoptions DEBUG="-g" 2009-08-09 22:25:41 +00:00
matt
2ec5520014 If using 16KB pages and VMSWAP_UAREA isn't defined, then cpu_switch_resume
becomes a empty routine since the UAREA is now mapped via KSEG0 instead of
via TLB.
2009-08-09 22:24:53 +00:00
matt
b75d8d8bd3 If using 16KB pages, don't enable special CCA for loongson2 cpus. 2009-08-09 22:22:51 +00:00
matt
147944b204 Add 16KB variants of MIPS3_PG_{ODDPG,HVN,SVN} 2009-08-09 22:21:44 +00:00
matt
8e96f9bb1a Only swapout uareas if VMSWAP_UAREA is defined (which is should be by default).
If it's not defined and PMAP_MAP_POOLPAGE is defined and USPACE == PAGE_SIZE,
then allocate/map USPACE via uvm_pagealloc/PMAP_MAP_POOLPAGE.

On platforms like MIPS with 16KB pages, this means that uareas (and hence lwp
kernel stacks) will be always be accessible since they will be KSEG0.
2009-08-09 22:19:09 +00:00
matt
3950714196 If PMAP_MAP_POOLPAGE is defined, use it to map kernel map entries. This
avoids TLB pollution on those platforms that define it.
2009-08-09 22:13:07 +00:00
matt
0dee8e59c9 Add [default] option to make UAREAs swappable. Disabling the option makes
them unswappable and therefore allocatable using KSEG/BAT/etc.
2009-08-09 21:58:03 +00:00
christos
9d70e21035 put back drm. 2009-08-09 21:32:16 +00:00
christos
c0dd0d68ac remove drm stuff for now 2009-08-09 20:27:06 +00:00
christos
8ae4a49631 add spic and drm to generic 2009-08-09 19:37:35 +00:00
christos
833455e99c spic has moved. 2009-08-09 19:36:28 +00:00
christos
c007c5e538 spic is moving 2009-08-09 19:35:36 +00:00
christos
574b39dfa6 move spic to common acpi. 2009-08-09 19:35:02 +00:00
matt
8987d18d1a Initialize Page Mask register based on PAGE_SIZE, don't assume it's always
going to be 4KB.  (And this change, I can boot a GDIUM kernel with 16KB
pages as far as I could with 4KB).
2009-08-09 17:53:54 +00:00
christos
a401f72096 - pass unsigned char to toupper
- set snprintf did not bother to uppercase the name. Simplify and fix.
2009-08-09 17:42:48 +00:00
apb
0b08bd10ac Allow rcorder-visualise.sh to accept an optional set of file names on
the command line.  By default it uses /etc/rc.d/*, as before.  Sample
usage: /usr/src/rcorder-visualise.sh /usr/src/etc/rc.d/*.
2009-08-09 17:08:53 +00:00
haad
be00161e0a Add device-mapper driver which I forgot to add in haad-dm branch. 2009-08-09 14:32:07 +00:00
mbalmer
530dfee805 Add gpioiic, gpiosim, and gpioow. Requested by tron. 2009-08-09 14:18:46 +00:00
pgoyette
f76adbfe10 Add sdtemp, too. 2009-08-09 14:17:56 +00:00
pgoyette
988f5cae7e Add dbcool - I'd have done it long ago, when the driver was added, but
didn't know about this file until now.
2009-08-09 14:12:22 +00:00
jakllsch
7df7a55a24 Add DNARD, AKA 'shark'. 2009-08-09 14:04:43 +00:00
martin
3eb37b127d Fix misplaced #endif, from Henning Petersen in PR port-sparc64/41856 2009-08-09 13:15:05 +00:00
haad
1511abfc1b Mention first round of zfs import. 2009-08-09 10:00:34 +00:00
skrll
364eb45f71 Fix vax.
Built by default options really should be tested better.
2009-08-09 09:22:16 +00:00
mbalmer
cec6354bb5 Mention gpioiic(4). 2009-08-09 08:53:58 +00:00
wiz
38143816eb Sort sections. Fix typo. 2009-08-09 08:44:30 +00:00
mbalmer
5502bee520 Add the manual page for the gpioiic(4) driver. 2009-08-09 08:20:53 +00:00
mbalmer
8fc23e3158 gpioiic(4), a driver to do use GPIO pins in bit-banging mode to form an I2C
bus.  Ported from OpenBSD.
2009-08-09 08:18:00 +00:00
wiz
94dcecc31d Sort sections, remove superfluous .Pp, improve wording. 2009-08-09 07:40:46 +00:00
dholland
f821ac304a Begin splitting lookup() into more tractable pieces too. 2009-08-09 07:27:54 +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
5bb9b7a6ef Support SMSC LAN9118 Family Ethernet interfaces device driver.
It tested on GUMSTIX only.
2009-08-09 06:40:09 +00:00
kiyohara
b76e3b1e19 Remove GPIO configuration for board dependently. 2009-08-09 06:24:03 +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
matt
e51839706f Use PGSHIFT + 1 instead hardcoding 13.
Don't set Page Mask to 0 when invalidating a TLB entry.
2009-08-09 05:36:22 +00:00
matt
ead615cc2a s/struct device */device_t /g 2009-08-09 04:09:55 +00:00
matt
4d59439aa7 Change TLBMiss to use values based on NBPG and PGSHIFT instead of magic
numbers.
Use REG_S instead of sw in a few more places.  Use _MFCO as well.
2009-08-09 04:08:14 +00:00
matt
05f21e1df1 Add disabled code to set K0 CCA if CCA_SPECIAL is being used. 2009-08-09 04:06:35 +00:00
matt
efe42514d3 If Loongson2 way size is <= page size, don't enable mips_virtual_alias 2009-08-09 04:05:03 +00:00