Commit Graph

235904 Commits

Author SHA1 Message Date
wiz 9424727910 Add missing .El and other minor fixes. 2015-06-03 14:38:38 +00:00
christos c3b6f86ce5 Add a gettext implementation from William Orr. 2015-06-03 14:32:16 +00:00
manu 4c4ecb7844 Fix dot-lookup when readdir does not provide inodes
Some filesystems do not provide inode numbers through readdir (FUSE mounts
without -o use_ino). We therefore have to lookup each directory entry to
get the missing numbers.

dot and double-dot are exceptions, as we already know the values. Moreover,
the lookup code does not expect to get requests for dot and will abort
perfused(8) when it gets some. In order to fix that, we just check for
dot and double-dot special case and use the known values instead of sending
a lookup.
2015-06-03 14:07:05 +00:00
pooka 9322d6a704 add rump kernel component for the auich driver
contributed by Robert Millan <rmh@freebsd.org> via private email
2015-06-03 14:06:19 +00:00
pooka 439ccf317e implement bus_dmamem_free()
from Robert Millan <rmh@freebsd.org> via rumpkernel-users
2015-06-03 13:55:42 +00:00
pooka 64f1a6830b Demand that rumpcomp_userfeatures_pci.h is available for providing
information about the hypercall interface implementation.
2015-06-03 13:43:23 +00:00
pooka 57bf183be4 Rework how the external hypercalls are specified, more in the direction of
something general.  I'm not sure if it's entirely general yet (since PCI
is the only place to use it), but at least a step in the right direction.
2015-06-03 13:41:56 +00:00
martin de7496de88 Include <sys/socketvar.h> for softnet_lock. 2015-06-03 13:06:26 +00:00
skrll 3d98d1434c Oops fix PBASE for non-A80 2015-06-03 12:22:41 +00:00
skrll 403f56e25b Use arm_dmb. No functional change 2015-06-03 11:43:18 +00:00
skrll 86356fc64e AWIN_SDRAM_PBASE is actually 0x20000000 2015-06-03 11:38:33 +00:00
pooka 7a8f766478 Add "all" and "none" as acceptable RUMP_NBCOMPAT value aliases to
undefined and empty, respectively.
2015-06-03 10:49:14 +00:00
pooka f70d97a184 Annual update of deleting one entry. At this rate the TODO will be
empty in 2038!
2015-06-03 10:23:08 +00:00
jmcneill 731c66cc7d Add kernel config for Olimex A20-OLinuXino-LIME2 2015-06-03 10:01:56 +00:00
jmcneill 684275fceb Olimex A20-OLinuXino-LIME2 support, from Greg Willatt <gpw26@mrao.cam.ac.uk> 2015-06-03 10:01:32 +00:00
joerg 9f6289a4f6 Fix typo in PPC macro. 2015-06-03 10:00:55 +00:00
hsuenaga b2a4d4f392 add kernel config of if_mvxpe(new ethernet) and mvxpsec(new cryptographic).
still disabled by default. I need to do more test...
2015-06-03 04:31:46 +00:00
hsuenaga 1a8031e111 add new cryptographic accelerator driver 'mvxpsec.'
this driver controls CESA unit as same as mvcesa, but uses DMA engines and
does CBC operations, HMAC operations by hardware. about 2 kbytes of data
are processed at one. supported algorithms are:

 - DES-CBC, 3DES-CBC, AES-CBC
 - HMAC-SHA1, HMAC-MD5

non-CBC algorithm such as AES-GCM is not supported by CESA's acceleration
engine. mvcesa is still useful to implement such algorithms as combination of
accelerated block cipher and software chaining.
2015-06-03 04:20:02 +00:00
hsuenaga 149ad0c83b reduce magic numbers. SDRAM address space attribute register has cache coherency
control bits. this bit is important for AURORA_IO_CACHE_COHERENCY.
2015-06-03 04:00:06 +00:00
hsuenaga ea5bc4c33e separate buffer management codes 'mvxpbm.c' from if_mvxpe.c.
the buffer management(ex. fill the rx descriptors/buffers) is done by H/W in
ARMADA XP/380, and is done by S/W in ARMADA 370. the H/W BM support is not yet
implemented, so all devices use the S/W management mode at this time.
2015-06-03 03:55:47 +00:00
hsuenaga 9400e05df8 move Marvell ARMADA SoC's device driver definitions from arm/marvell
to dev/marvell.
2015-06-03 03:34:38 +00:00
hsuenaga 7d6cdecd7e initialize ARMADA XP's Mbus address decoder and code clean up
probably we need more sophisticated Mbus driver or KPI...
2015-06-03 03:25:51 +00:00
hsuenaga 761e6dbd62 dump Mbus settins on boot if AV_VERBOSE or AV_DEBUG is enabled. 2015-06-03 03:04:21 +00:00
hsuenaga 4a166ec266 add ARMADA XP's Soc internal bus(Mbus) address decoder initialization function.
some versions of u-boot initializes the address decoder incorrectly(probably
these values are come from Kirkwood SoC or older.) the codes generates
SoC's default address spaces and some modifications for NetBSD's assumption.

add error interrupt definitions, interrupt name strings for 'vmstat -e',
verbose output of Mbus settings for such low-level debugging of SoC.
2015-06-03 02:53:19 +00:00
hsuenaga 6a90cab23e initialize sdcache operations for PJ4B.
otherwise the kernel crashes without 'options L2CACHE_ENABLE.'
2015-06-03 02:30:11 +00:00
hsuenaga 99a3c13a27 Obtain softnet_lock before entering IP networking stack from gif software
interrupt.
2015-06-03 02:17:51 +00:00
christos acb599fdb6 Strip the debug symbols via a temporary file, atomically replacing the full
random access archive to avoid races.
2015-06-02 23:00:25 +00:00
snj 9106b578b7 prune bogus comma from Nm args 2015-06-02 21:03:46 +00:00
christos 7d0f8c792d restore address length before printing. 2015-06-02 20:52:00 +00:00
christos 14ccb7c1cc remove duplicate declaration 2015-06-02 15:36:45 +00:00
christos 0804279dff Adjust API to a more modern readline (Ryo Onodera) 2015-06-02 15:35:31 +00:00
msaitoh 9437f450fa Fix a lot of bugs to make 82575 and newer's SERDES based systems work.
- Add SERDES specific functions.
 - Fix IO pin configuration.
 - Reset autonego timer when link becomes up.

TODO:
 - Fix a bug that SFP ROM can't read.
 - Perhaps some work is required for 8257[12] serdes systems.
 - Remove duplicated code in TBI's link related functions.
2015-06-02 14:19:26 +00:00
pooka 7c06b62e62 In case pagedaemon can't release any more memory, use kpause() instead
of cv_timedwait() on the pagedaemon condvar -- it's no use constantly
waking the pagedaemon up for new memory allocation attempts, as will
happen e.g. if new network connections are constantly pouring in.
2015-06-02 14:07:48 +00:00
matt deca167230 Add a clrex/dmb to irq path as recommended by ARM. 2015-06-02 14:06:16 +00:00
christos 6eb87c72ac make proto and port optional 2015-06-02 14:02:39 +00:00
christos 67f3bc6379 Add more debugging, simplify.
Use symbolic constants: -2=FEQUALS, -1=FSTAR
2015-06-02 14:02:10 +00:00
msaitoh 9de73bb90d No functional change:
- Reorder functions.
 - Rename wm_tbi_check_link() to wm_tbi_tick() because this function acts as
   mii_tick().
2015-06-02 13:26:36 +00:00
ozaki-r 11f40b0843 Check if tests surely failed with TTL exceeded 2015-06-02 07:32:50 +00:00
matt 6edddd8fbb Back off MAXDSIZ to 1.5GB to avoid some virtual memory exhausted messages. 2015-06-02 05:54:23 +00:00
matt 53cd5c2ae6 Use structure copy instead of memcpy. 2015-06-02 05:11:34 +00:00
matt e8dd0bce90 Add CPU_INFO_FLAGS / CPUF_PRESENT 2015-06-02 05:10:57 +00:00
matt 25769772e0 Fix octeon spinup code to branch to right instruction and to jump to the
right routine.
2015-06-02 05:10:18 +00:00
matt b6c4747f8b In cpu_trampoline, load the ksp from the idlelwp after we enable KX. 2015-06-02 05:09:15 +00:00
matt 8e09aae714 Deal with cpu_info_store that spans a 32KB boundary. 2015-06-02 05:08:21 +00:00
matt e02cafdc78 Indent branch delay slot instructions. 2015-06-02 05:06:23 +00:00
matt e020eca415 Fix CPU_INFO_FOREACH which had the MULTIPROCESSOR/!MULTIPROCESSOR definitions
reversed.
2015-06-02 05:05:28 +00:00
msaitoh bb9239073e Fix a bug that flags related to semaphore were incorrectly checked in
wm_kmrn_{readreg,writereg}. i80003, ICH* and PCH* had this problem.
2015-06-02 03:49:10 +00:00
nonaka 0dee2b5901 regen 2015-06-02 02:11:22 +00:00
nonaka f0609a42b3 fix typo. s/Wirelsss/Wireless/ 2015-06-02 02:07:54 +00:00
pooka 33014e6af7 Use SRCS+= instead of SRCS= in Makefile.incs to avoid assumptions of
what is being included when.
2015-06-02 00:38:37 +00:00