Commit Graph

215088 Commits

Author SHA1 Message Date
phx 5bb0fdf44e Add another NH-231 clone to the list: Vibe NS-349-S 2012-11-26 17:56:17 +00:00
pooka 149f3bccf4 Support DragonFly BSD. 2012-11-26 17:55:11 +00:00
pooka 0d8e694036 PTHREAD_PROCESS_SHARED private doesn't seem to work on DragonFly, so
init the spin lock _PRIVATE (we don't really care which it is).
2012-11-26 17:54:51 +00:00
christos 5add84500d regen 2012-11-26 17:36:35 +00:00
christos a75eb7450c PR/47245: Toby Karyadi: more matches for AX88772B usb ethernet. 2012-11-26 17:36:27 +00:00
christos df3a955cfc PR/47245: Toby Karyadi: More identifiers for AX88772B usb ethernet 2012-11-26 17:34:45 +00:00
pooka 1fedf4b3c8 When including this from a tools build, avoid defining _PWD_H_ since
that macro causes DragonFly's util.h to define conflicting routines.
2012-11-26 17:18:39 +00:00
pooka 303e3a3aa0 FreeBSD fixes.
from philip@freebsd.org
2012-11-26 17:03:15 +00:00
pooka 23a1592d75 const poison is the cure 2012-11-26 17:00:54 +00:00
pooka cdb7042197 Build gmake iff we're going to need it. 2012-11-26 16:57:25 +00:00
pooka 2f56710909 Since SA_SETLEN() is used only for sockaddr_in, convert it to SIN_SETLEN()
to avoid compiler whining on breaking strict aliasing rules.
2012-11-26 16:30:14 +00:00
drochner 9d483431fd allow to enable ffs "discard" by update mounts, make the flag visible
to userland
2012-11-26 16:22:21 +00:00
alnsn fb02065311 Add sljitarch.h. 2012-11-26 08:05:47 +00:00
riastradh d9faecf37c Match the Intel 7 Series SMBus Controller in ichsmb(4).
Tested on a Thinkpad W530.
2012-11-26 03:01:28 +00:00
rkujawa df0940144b Add z3rambd(4) man page to distribution list. 2012-11-26 00:41:48 +00:00
rkujawa e732b9231e Last commit to this file was accidental, Flipper is not really supported yet. 2012-11-26 00:38:15 +00:00
rkujawa f2107c7363 Add man page for newly added z3rambd(4) driver. 2012-11-26 00:36:01 +00:00
rkujawa b51b09fe9f Note z3rambd(4). 2012-11-26 00:23:53 +00:00
rkujawa a686c0b3de Regen configs. 2012-11-25 23:37:28 +00:00
rkujawa 0b22320279 Argh, commited wrong file. Add z3rambd. 2012-11-25 23:37:10 +00:00
rkujawa b082659a3a Add z3rambd, commented out. 2012-11-25 23:36:37 +00:00
rkujawa 2505fa9409 Add z3rambd driver, it allows using Zorro III RAM boards as block devices.
This makes sense in machines equipped with RAM on accelerator boards, where
difference between accelerator RAM and Zorro III RAM is significant. Hacks
were needed in amiga_init.c and zbus.c, but they are only enabled if this
driver is present in kernel. Otherwise user will get the usual behaviour.
2012-11-25 23:33:55 +00:00
alnsn 9fa58a12c5 EVPMIPS -> MIPS in include guard. 2012-11-25 23:04:51 +00:00
christos 9fec33d631 PR/47245: Toby Karyadi: Add AX88772B support to axe(4), e.g. for DLINK
DUB-E100 C1
2012-11-25 22:22:39 +00:00
alnsn 079dc4d907 Add sljitarch.h to all mips machines. 2012-11-25 21:55:50 +00:00
cherry aaa3520e6b Do not escalate the local spl while taking the interrupt handler list
lock. Re-entrance is protected against within the events handler
framework by toggling interrupts/events, so we don't need (and cannot
use) the spl framework in that path. The other consumers (interrupt
registration/removal code) are not spl sensitive wrt this lock.
2012-11-25 20:56:33 +00:00
pgoyette c9184f08f1 For consistency, define the _KERNEL version of __swp() using a non-volatile
type, similar to how it is defined in non-KERNEL

Fixes the 'build.sh release' for evbarm-{eb,el}
2012-11-25 20:40:30 +00:00
christos 442672de03 readability fix. 2012-11-25 19:52:05 +00:00
riastradh e035d5e86a Rework firmware reference counting and error messages in wpi(4).
. Clarify the shared firmware abstraction in wpi_cached_firmware
  and its new sibling wpi_release_firmware.
. Fix typo in wpa_cache_firmware error branch leading to free NULL.
. Fix leak in wpi_load_firmware error branch.
. Sprinkle some kasserts to executably document invariants.
. A little KNF here and there.

Based on a patch from dh in PR kern/44144.
2012-11-25 19:50:34 +00:00
jakllsch a3904b0b1f Catch up to the kernel with respect to Ext2 huge_file feature. 2012-11-25 19:42:14 +00:00
jakllsch afc2ce4252 e2di_nblock is (assuming the huge_file feature is not active) stored in
DEV_BSIZE units, not fs block size units.
2012-11-25 19:36:23 +00:00
rkujawa 906d076164 Use constants, not magic values. 2012-11-25 19:15:43 +00:00
christos 3d7bb1da45 support printing rnd descriptor info 2012-11-25 15:30:28 +00:00
christos 48ee8a077a add the context struct 2012-11-25 15:29:55 +00:00
christos 2afe045a2a add an snprintb format. 2012-11-25 15:29:45 +00:00
christos 3f97768e4e move context struct to a header for the benefit of fstat. 2012-11-25 15:29:24 +00:00
mbalmer 9d9e15ed7b Don't check mp for NULL twice. From Michael W. Bomardieri <mb@il.net>
via tech-net@NetBSD.org.  Thanks!
2012-11-25 09:06:43 +00:00
cherry 5629a5ffd3 Make hypervisor_set_ipending() and its consumers cpu unaware. This syncs syntax with semantics 2012-11-25 08:39:35 +00:00
cherry 8b26a56d50 hypervisor_set_ipending() should not set the pending flag across cpus. The reason for this is that the pending flag update is not atomic, or protected by a lock. Since its current (mis)use in evtchn_do_event() across cpus is to notify the remote cpu of an interrupt, we use hypervisor_send_event() instead, to trigger an event on the remote cpu, which in turn invokes evtchn_do_event() on that cpu and DTRT on it.
On the local cpu, we protect hypervisor_set_ipending() from re-entry via cli(). Remove a redundant and unprotected call to hypervisor_set_ipending().

Thanks to jym@ for spotting this discrepancy while reviewing a related patch.

See: http://mail-index.netbsd.org/tech-kern/2012/11/12/msg014374.html
2012-11-25 07:48:46 +00:00
isaki 0a50621b8b Make the end of image address absolute-long.
It allows to locate the end of image higher than 0x10000.
2012-11-25 04:06:59 +00:00
christos 72708a99b3 provide _ENTRY(x) because some code needs it. 2012-11-25 01:10:37 +00:00
christos 0548a80ae0 return stuff for ksem 2012-11-25 01:05:49 +00:00
christos 610818b251 expose ksem_t for fstat(8), and implement stat for future reference. 2012-11-25 01:05:04 +00:00
christos 9648f140ad do something reasonable with kernel semaphores. 2012-11-25 01:03:05 +00:00
christos c7c1f1a254 - add more debugging.
- in misctrans() we need the file index not the file type.
2012-11-25 00:36:23 +00:00
christos f60f86a673 XXX: rename data() to getdata(). This is to avoid an assembler botch on the
ppc64 toolchain where function names are prefixed with a period, so "data"
becomes ".data" and ".data" is confused by the assembler with the segment
directive with the same name. Clearly this is a toolchain issue; we should
be able to call functions "text" and "data" but it is simpler to fix the
code rather than the toolchain.
2012-11-24 22:29:09 +00:00
christos 79abd5ecae PR/47237: Steffen Nurpmeso: Detect more than 2 pad characters and mark as bad. 2012-11-24 21:40:02 +00:00
riastradh 8b7a790367 Match LEN0068 in thinkpad(4) too, as newer Thinkpads report.
Tested on a W530.  Lots of stuff is missing, though.
2012-11-24 20:56:39 +00:00
nakayama 5f60ff96cb - fix endian cofusion around FID, which is used as is, so no need
to do byte swapping.
- put right value to ByteCount of SMB_COM_NT_CREATE_ANDX request.

The fix makes smbfs actually works on big-endian port.
2012-11-24 19:48:24 +00:00
pgoyette e1d0e8f360 File is common between pp6 and ppc64 ports, so define ARCH_ELFSIZE
accordingly.

From christos@, resolves the latest build break
2012-11-24 18:16:15 +00:00