Commit Graph

194477 Commits

Author SHA1 Message Date
christos fddfc9bc13 regen 2010-11-03 20:03:54 +00:00
christos 958efcff99 From Anon Ymous:
Port of the otus driver from OpenBSD.  This driver supports USB 2.0
wireless network devices based on Atheros Communications AR9001U
chipset.  It claims to support several AR9001U based adapters, but has
only been tested with a NetGear WNDA3100 adapter (0x0846/0x9010).

XXX: The EDCA support is currently missing from our network stack
(hopefully coming soon), but the driver hooks for it are there.
2010-11-03 20:03:02 +00:00
christos 7ab9ff9cb8 add otus 2010-11-03 19:59:34 +00:00
christos ad95e31a0b from openbsd. 2010-11-03 19:58:17 +00:00
christos c7f267ae62 add otus. 2010-11-03 18:57:32 +00:00
christos ce1a2860b6 Add otus firmware from:
http://damien.bergamini.free.fr/packages/openbsd/otus-firmware-1.0.tgz
2010-11-03 18:52:44 +00:00
uebayasi 4c3b75a463 Fix build of IXM1200 too. Pointed out by cegger, thanks. 2010-11-03 16:59:19 +00:00
plunky 5cf5f72e75 this page title is CDBW 2010-11-03 16:17:48 +00:00
christos 0f10aa9dce add Makefile.inc everywhere so that we can set WARNS=4 by default. Amazing
how many bugs this found :-)
2010-11-03 16:10:19 +00:00
christos d3d3da9ee3 add a clearenv test. 2010-11-03 16:09:43 +00:00
christos 3954ad831d Handle the case where a program attempted to cleanup the environment by
setting *environ = NULL;
2010-11-03 15:01:07 +00:00
njoly 94dfcbab95 unobsolete usr/lib/sparc/libmagic.so 2010-11-03 14:37:56 +00:00
jakllsch 689f59981c Make nfe(4) detachable. 2010-11-03 14:03:40 +00:00
wiz 5140adc8f3 Sort sections. 2010-11-03 12:21:50 +00:00
njoly e6ad238d2c +xz.debug 2010-11-03 12:15:54 +00:00
nakayama 7075a3643b Add a workaround for 48-bit LBA DMA access bug on M5229 rev. <= 0xc4.
- use DMA in 28-bit LBA addressing.
- use PIO in 48-bit LBA addressing.

Idea and message are from FreeBSD, and tested on M5229 rev. 0xc3 in
my Sun Netra X1 with 160GB drive.
2010-11-03 11:46:30 +00:00
plunky a4d969557b In server mode, relax the requirement to specify a channel number. If
one is not given, attempt to allocate the first unused one.
2010-11-03 08:27:27 +00:00
kiyohara 84b6554108 Calculate IRQ from swiz, if bus != 0. 2010-11-03 05:23:11 +00:00
kiyohara 193f24869a Enable wss(4) at port 0x82c.
Also enable audio.
2010-11-03 05:19:29 +00:00
jruoho d8a7c8c6ce Fill cpu_info::ci_acpiid also on Xen. 2010-11-03 04:34:51 +00:00
uebayasi c87cbe9fca genfs_getpages: restore vm_page array correctly in PGO_LOCKED error
code path.
2010-11-03 04:32:50 +00:00
agc eb60d56a8c Clean up the test home directory in "make distclean"
Patch from Peter Pentchev in PR 44025.
2010-11-03 02:40:34 +00:00
agc 9e52ba5c80 Escape hyphens properly in manual pages, so that groff can handle them.
Patch from Peter Pentchev in PR 44026.
2010-11-03 02:36:12 +00:00
agc 40764fcb17 Don't call exit(3) from library context - brought in with the initial
import, so pink (rather than red) face here.

Pointed out by Peter Pentchev in PR 44027. Thanks!
2010-11-03 02:27:56 +00:00
macallan 7e5689a504 pull in rasops8 for radeonfb, while there defflag a bunch of options and
make them all use the same prefix
2010-11-03 00:49:02 +00:00
christos 0118eafd5d PR/44030: Onno van der Linden: ifreqn2o gets called with the parameters the
wrong way around in /sys/net/if.c
2010-11-02 22:34:21 +00:00
skrll 162991256a Spell immediately correctly. 2010-11-02 20:49:47 +00:00
plunky ff185da4c9 -s can be used in server mode too 2010-11-02 19:44:09 +00:00
phx 529c3f6694 Default vesa mode for Pegasos is 0x103, not 0x102. 2010-11-02 19:19:22 +00:00
joerg 8d2377123b Add public-domain 2010-11-02 19:17:02 +00:00
joerg 5ca507b93d Enable direct XZ support 2010-11-02 19:14:53 +00:00
joerg afd3226f0e Add LIBLZMA. 2010-11-02 19:13:58 +00:00
joerg 6960a12118 Install XZ's header files. 2010-11-02 19:12:46 +00:00
chs 6842940109 personality() now interprets its parameter as having
the base personality type in the low byte and
various flags in the upper bytes.  for now just mask off
the flags to make sure the base type is one we accept.
store the current personality in the emuldata so that
we can return the expected value for PER_QUERY.
2010-11-02 18:18:07 +00:00
chs 45bce0e50a regen 2010-11-02 18:15:39 +00:00
chs fc7a196102 implement the following syscalls for linux32:
truncate64
  ftruncate64
  profil
  ioperm
  iopl
  setdomainname
  modify_ldt
  statfs64
  fstatfs64

note that iopl(), ioperm() and modify_ldt() just call
the respective 64-bit handlers, which don't do anything yet.
2010-11-02 18:14:05 +00:00
chs 3c3115da20 update linux_sys_socket() to understand the flags that are now
included in the "type" parameter.  in linux_sys_sendmsg(),
if we see an SCM_CREDENTIALS control message, just drop it
instead of giving an error.  the linux and native versions of
the cred-passing operation are very different and some apps
(eg. linux pulseaudio library talking to a native server)
will work without the control data.
2010-11-02 18:02:59 +00:00
chs 069ef5a4d0 define LINUX_O_CLOEXEC.
sort definitions by value.
consistently use hex instead of octal for the values.
2010-11-02 18:01:25 +00:00
jakllsch c319f56c83 Explicitly set PCI_COMMAND_MASTER_ENABLE. 2010-11-02 16:56:47 +00:00
jakllsch e55e8741f7 Explicitly set PCI_COMMAND_MASTER_ENABLE, in case the platform firmware didn't. 2010-11-02 16:54:29 +00:00
gsutre 678179dfe4 acpi_eval_integer: check that the evaluation produced a result.
ok jruoho@
2010-11-02 16:45:48 +00:00
joerg b8ea0c9af1 ISOfy date of Lua import 2010-11-02 16:39:53 +00:00
joerg 6187019beb Add entries for XZ 5.0.0 import. 2010-11-02 16:39:31 +00:00
joerg b1de0a15dc Hook up xz into the build system. 2010-11-02 16:34:33 +00:00
tsutsui c5bd6bbaa2 Use fixed pci_intr_handle_t per device number regardless of pin and swiz.
Tested the following multifunction card and devices over ppb(4)
on Express5800/230 (JC94):

---
uhci0 at pci0 dev 4 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x61)
uhci0: interrupting at int C
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 4 function 1: VIA Technologies VT83C572 USB Controller (rev. 0x61)
uhci1: interrupting at int C
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 4 function 2: VIA Technologies VT8237 EHCI USB Controller (rev. 0x63)
ehci0: interrupting at int C
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
fwohci0 at pci0 dev 4 function 3: VIA Technologies VT6306 IEEE 1394 Host Controller (rev. 0x46)
fwohci0: interrupting at int C
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:01:08:00:37:02:79:4f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 1024 bytes.
fwohci0: max_rec 1024 -> 2048
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
vge0 at pci0 dev 4 function 4: VIA VT612X Gigabit Ethernet (rev. 0x11)
vge0: interrupting at int C
vge0: Ethernet address: 00:01:08:00:b1:71
ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2
ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
 :
---
ppb0 at pci0 dev 4 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x05)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ex0 at pci1 dev 4 function 0: 3Com 3c980C-TXM 10/100 Ethernet (rev. 0x78)
ex0: interrupting at int C
ex0: MAC address 00:01:03:ce:74:48
bmtphy0 at ex0 phy 24: Broadcom 3c905C internal PHY, rev. 7
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex1 at pci1 dev 5 function 0: 3Com 3c980C-TXM 10/100 Ethernet (rev. 0x78)
ex1: interrupting at int C
ex1: MAC address 00:01:03:ce:74:49
bmtphy1 at ex1 phy 24: Broadcom 3c905C internal PHY, rev. 7
bmtphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 :
2010-11-02 16:03:47 +00:00
tsutsui 0df969c624 Include files.ieee1394. 2010-11-02 15:50:09 +00:00
joerg 67c9d7de30 Replace configure.ac with a stripped down version for later use by
src/tools.
2010-11-02 15:40:58 +00:00
joerg 5c6654a627 Use libc version of SHA256 on NetBSD. 2010-11-02 15:35:38 +00:00
joerg 4d1abfb29e Import stripped down version of xz-5.0.0. All non-public domain parts
are removed to provide a prestine version.
2010-11-02 15:20:20 +00:00
pooka 37653ea90a KASSERT we don't kpause indefinitely without interruptability.
XXX: using timo == 0 to mean "sleep as long as you like, and forever
if you're really tired" is not the smartest interface considering
the the hz/n idiom used to specify timo.  This leads to unwanted
behaviour when hz gets below some impossible-to-know limit.  With
a usec2ticks() routine it at least be a little more tolerable.
2010-11-02 15:17:37 +00:00