christos
3aca3860f9
PR/50869: David Binderman: Use logical and instead of arithmetic
2016-02-29 18:24:31 +00:00
christos
ffddf40726
PR/50856: David Binderman: Remove redundant code.
2016-02-26 18:15:59 +00:00
kiyohara
99a1b69833
Clear ATAC_CAP_DATA32, if dev is atabus@wdc@pcmcia@aupcmcia. It is 32-bit transfers are not supported.
2016-02-09 12:48:06 +00:00
christos
0a67dc8231
PR/50735: David Binderman: Check bounds before dereferencing.
2016-02-01 17:37:39 +00:00
macallan
91d5ecf2d2
first shot at SMP support, very much broken and experimental
...
So far the 2nd core wakes up, makes its way to the idle loop, and things lock
up when we start the timer interrupt.
2016-01-29 01:54:13 +00:00
macallan
6a9f064d48
comment out ukphy
2016-01-03 06:23:25 +00:00
macallan
bdb6cefb4c
enable ehci, now that it works properly
2016-01-02 16:55:46 +00:00
christos
257ef94e95
Add mips fenv.h (From FreeBSD)
2015-12-21 17:02:32 +00:00
mrg
4810df2dff
eliminate USBHIST as a define/option. it was entangled with USB_DEBUG
...
and only referenced a handful of times. rename any usage in configs.
fixes recent build problems i introduced with the previous files.usb
change.
2015-10-29 00:15:48 +00:00
macallan
5bd869b56d
add efuse driver
2015-10-08 17:58:51 +00:00
macallan
12be77a6d0
add mechanism to pass a MAC address to dme
2015-10-08 17:51:15 +00:00
msaitoh
605f564f52
PCI Extended Configuration stuff written by nonaka@:
...
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
2015-10-02 05:22:49 +00:00
maxv
d42b2b5ae7
Remove KMEMSTATS. Normally it's ok now.
2015-09-26 11:16:12 +00:00
jmcneill
319ee95162
enable NFSSERVER
2015-08-21 12:26:54 +00:00
maxv
e99716e305
Remove KMEMSTATS.
2015-08-12 07:53:56 +00:00
macallan
d6a4bdd595
add jzrng
2015-08-07 17:41:43 +00:00
maxv
02aebf5ed4
Remove KMEMSTATS.
2015-08-07 13:53:28 +00:00
maxv
d22da207ed
Remove the KMEMSTATS option. It no longer exists.
2015-08-07 07:29:33 +00:00
macallan
209dfc0422
include files.sdmmc
2015-07-11 19:01:17 +00:00
macallan
ede3c3ba87
- get rid of private bus space in ingenic_com.c
...
- move com to apbus
- attach the other UARTs
2015-07-11 19:00:04 +00:00
macallan
4c1a8dc139
don't mess with the cycle counter event counter, out timer interrupt comes
...
from elsewhere and is counted there
2015-06-30 04:10:10 +00:00
matt
4732ca2c1e
Use cpu_startup_common()
2015-06-30 02:39:03 +00:00
matt
1d75dfbf81
add whitespace
2015-06-27 03:34:26 +00:00
matt
250ae0730b
Remove pmapdebug stuff
2015-06-26 22:14:01 +00:00
matt
363991e3fb
Use cpu_startup_common()
2015-06-26 22:12:21 +00:00
matt
50e5fbf616
Just cpu_startup_common()
2015-06-26 22:11:10 +00:00
matt
3b3fdbf2c9
Add #include <mips/locore.h>
2015-06-26 21:57:25 +00:00
matt
3e2ddfa15c
if NEED_MDSETIMAGE != no and the ramdisk.fs exists
...
add ramdisk.fs to SYSTEM_DEP
if DEBUG is defined, mdsetimage the ramdisk image into the .gdb copy
2015-06-26 21:56:31 +00:00
martin
b6a5b34df0
Remove options NFS_V2_ONLY
2015-06-16 09:37:48 +00:00
macallan
1af69ec73b
use kcpuset_isset()
2015-06-11 15:38:18 +00:00
matt
021704511f
Match sd and ld in addition to wd.
2015-06-10 22:33:06 +00:00
matt
f75f4dcfbb
Avoid using curpcb (use lwp_getpcb(curlwp)) instead.
2015-06-10 22:32:32 +00:00
matt
fcf879e0bf
Transition from __cpuset_t to kcpuset_t *. This brings the local pmap one
...
step closer to uvm/pmap, its eventual replacement. Tested on ERLITE MP kernel.
2015-06-10 22:31:00 +00:00
matt
92013fbfdf
#include <sys/cpu.h> and/or <mips/cpuregs.h> as needed.
2015-06-09 22:49:55 +00:00
macallan
04c3c50ebb
another cpuregs.h
2015-06-09 16:29:01 +00:00
macallan
8005322523
more cpuregs.h
2015-06-09 16:10:48 +00:00
macallan
ec31a2edcd
include cpuregs.h
2015-06-09 15:58:38 +00:00
matt
18be05de29
Add wdog0
2015-06-08 14:42:38 +00:00
matt
e069fa61fc
Add bluetooth
2015-06-07 21:05:33 +00:00
matt
6624f40a20
#include <mips/cpuregs.h>
2015-06-07 07:19:21 +00:00
matt
b45b235ea3
Add an assert to verify interrupts are enabled.
2015-06-06 22:23:31 +00:00
matt
0112a16de0
Add a few KDASSERT for interrupts being enabled.
2015-06-06 22:22:03 +00:00
matt
a48618d72c
minor constification
2015-06-04 05:22:10 +00:00
matt
461aac584c
If booting a MULTIPROCESSOR kernel, use the llsc atomic primitives
2015-06-04 05:21:09 +00:00
matt
2d2997316d
Rework cavium support in preparation for MULTIPROCESSOR support
2015-06-01 22:55:12 +00:00
matt
8d12eb7e0b
Call cpu_attach_common to attach the per-cpu counters.
2015-05-26 02:09:34 +00:00
jmcneill
4f61b7b867
add drvctl
2015-05-21 09:53:05 +00:00
matt
948724d0bc
Enable MSDOSFS since the kernel lives on a MSDOS fs.
2015-05-19 02:30:57 +00:00
matt
51f77124f5
no wd devices on erlite, use sd instead for the USB mass storage.
2015-05-19 00:09:02 +00:00
matt
e0ec764400
Use kern/disk_subr_mbr.c instead of evbmips/disksubr.c
2015-05-18 01:53:50 +00:00