Commit Graph

182981 Commits

Author SHA1 Message Date
matt
0afbb53bde Enable DIAGNOSTIC
Add cpu0
2009-08-11 02:36:43 +00:00
matt
94e69ffc25 Disable 2nd PCI Windows @ 8MB 2009-08-11 02:35:15 +00:00
matt
132d224431 Fix mainbus_print and don't pass a NULL name. 2009-08-11 02:32:38 +00:00
matt
54096a5ecc Flush by increasing way, then increasing addr. flush L1 before L2 (even
though according to the specification it should be needed).  Reset
mips_sdcache_size to 0 so we will configure it.
2009-08-11 00:34:29 +00:00
haad
b760fc6e71 Add uvm_reclaim_hooks support for reclaiming kernel KVA space and memory.
This is used only by zfs where uvm_reclaim hook is added from arc cache.

Oked ad@.
2009-08-10 23:17:29 +00:00
kiyohara
80d39e70af Remove unused variable powman_ioh.
It is used in GUMSTIX ohci patch.
2009-08-10 23:08:12 +00:00
haad
a83da6a90d Enable taskq which was disabled during testing. 2009-08-10 22:55:08 +00:00
haad
15e894922a Add missing header file. 2009-08-10 22:47:09 +00:00
haad
494666162f Rename getline to zgetline to avoid clashes with NetBSD getline.
Problem found by zafer@.
2009-08-10 22:44:41 +00:00
haad
2bd9595b28 Fix number of arguments passed to do_sys_mkdir. 2009-08-10 22:41:51 +00:00
haad
614ae6725c Remove strange looking -I entries. 2009-08-10 22:38:59 +00:00
haad
4c1e749f2d Add some NetBSD fixes which I have forgot to commit during first round.
With these patches I can build solaris and zfs module again.
2009-08-10 22:38:02 +00:00
wiz
7aaf57e150 Bump date for previous. 2009-08-10 22:36:37 +00:00
haad
7c0a6ff12f Add _PC_ACL_EXTENDED and _PC_MIN_HOLE_SIZE which are needed by zfs. 2009-08-10 22:29:29 +00:00
matt
08a391fc42 Add matt-nb5-mips64 branch 2009-08-10 21:27:46 +00:00
plunky
4f6ac13367 reduce the number of KAUTH_DEVICE_BLUETOOTH_SEND/RECV requests
by passing the packet type as an argument rather than having
a different request for each type.

(from a suggestion by mrg)
2009-08-10 20:22:06 +00:00
plunky
80c6ec5db1 remove last usage of KAUTH_ISSUSER in bluetooth code by adding
some requests to the device scope:

	KAUTH_DEVICE_BLUETOOTH_SEND_COMMAND
	KAUTH_DEVICE_BLUETOOTH_RECV_COMMAND
	KAUTH_DEVICE_BLUETOOTH_RECV_EVENT
	KAUTH_DEVICE_BLUETOOTH_RECV_DATA

and a listener tied to the HCI protocol that will approve the basic
minimum to be sent and received.

handle the requests in the bsd44_suser listener by approving all
when the credential is root.
2009-08-10 18:25:20 +00:00
rjs
ff83e633bb Add enum uio_seg argument to do_sys_mknod(). 2009-08-10 17:36:00 +00:00
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