Commit Graph

109024 Commits

Author SHA1 Message Date
mrg 86de1d619b add struct ebus_mainbus_ranges. from openbsd. 2011-03-16 02:34:10 +00:00
riz 753af18e2c Add otus(4), Atheros AR9100U usb wireless driver. 2011-03-15 23:27:47 +00:00
mrg a1b3c3f005 initial port of these drivers to netbsd. both pyro(4) and ebus(4) at
mainbus depend upon other as-yet uncommited changes.
2011-03-15 11:42:03 +00:00
mrg 79023f55de also attach for su16552 compatible devices. 2011-03-15 11:22:18 +00:00
mrg 5b208c27ee import the openbsd pyro and ebus_mainbus drivers for base reference. 2011-03-15 11:21:04 +00:00
matt 400ff9c4eb Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.
2011-03-15 07:39:22 +00:00
matt 7bf03f836e Remove redundant lines. 2011-03-15 07:33:54 +00:00
matt 0f39e35780 Add MIPS TLS support. 2011-03-15 07:33:36 +00:00
matt ee19fddbeb Use KDASSERT and kpreempt_disable/enable in pmap_tlb_asid_check 2011-03-15 07:32:53 +00:00
matt f69279f986 Make sure we do proper locking if LOCKDEBUG is defined 2011-03-15 07:31:33 +00:00
jakllsch ec9ba6e38d Make debugging code compile. 2011-03-14 20:12:40 +00:00
christos 63a1920d77 fix debugging printfs. 2011-03-13 23:44:14 +00:00
sjg a864846b25 EJUSTRETURN is expected return from sys_execve() 2011-03-13 21:26:31 +00:00
bouyer b41e8c3e3d Fix source list for ffs module. 2011-03-13 18:23:30 +00:00
phx bb3d014cec With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.
2011-03-13 15:23:43 +00:00
he 3137b7b1b0 Bump the install image size from 1.5 to 1.6M so that it fits again. 2011-03-13 12:58:02 +00:00
kiyohara 91a5209e04 Fix reset status. Clear some flags for active pipes after completing hard reset. 2011-03-13 05:26:14 +00:00
phx 907f2e574e Enter interactive mode, when a key is pressed within two seconds. 2011-03-13 01:56:21 +00:00
joerg 854e6cd69f Add TLS support for AMD64, i386 and SH3.
This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
2011-03-12 22:54:36 +00:00
nonaka 8fe5cd0494 mvsoc needs pic_splfuncs. 2011-03-12 22:34:52 +00:00
phx 8a34c88d70 When shutting down the network interface it is not enough to stop it. Some
boards also need to reset the chip, otherwise bad things can happen.
2011-03-12 16:52:05 +00:00
phx d06124ce5c The DSM-G600's satellite microcontroller provides no possibility to reboot
or powerdown the board, so we can only support reboot by falling back to
a default reboot procedure.
The default procedure will turn off interrupts and the MMU, then jump
through the firmware's reset vector (0xfff00100).
2011-03-12 16:49:16 +00:00
phx 17f303af9f When rebooting flush the instruction pipeline first, then do an absolute
jump to 0xfff00100.
2011-03-12 16:46:31 +00:00
phx eac0e0053d Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.
2011-03-12 16:41:23 +00:00
pgoyette 833ae64433 Fix another instance of the same typo in the same comment! dosn't -->
doesn't

Thanks again, Jukka!
2011-03-12 13:33:18 +00:00
nakayama 4887604bc0 Remove implicit include <dev/sbus/sbusvar.h> from autoconf.h, and
add it explicitly in files depending on it.
2011-03-12 11:43:38 +00:00
nakayama 51279a6946 Remove unnecessary headers. 2011-03-12 11:42:57 +00:00
matt 290d35338f Add __lwp_gettcb_fast and __lwp_settcb helper inline functions 2011-03-12 07:38:16 +00:00
matt 3318c2324f Add TLS defines. 2011-03-12 07:29:41 +00:00
matt aefebf00f3 Simplify cpu_lwp_setprivate. 2011-03-12 07:27:20 +00:00
yamt 448a616abd prevent cross-mount operations. 2011-03-12 07:16:50 +00:00
he c5abf7f984 Add two NetMos NM9865 1-port and 2-port controllers, as found in
2x and 1x on a 4-port card sold as Sunsway/ST Lab I-430.
2011-03-11 20:22:53 +00:00
pgoyette 8207a57f9b Fix typo in previous - dosn't --> doesn't
Thanks, Jukka!
2011-03-11 19:12:46 +00:00
nakayama 68921fb4d2 Remove unnecessary headers. 2011-03-11 18:55:26 +00:00
pgoyette 778be5985f Add support for SMSC EMC6D103S
From jasper@pointless.net in PR kern/44685
2011-03-11 18:38:51 +00:00
phx 5f7cc0f228 Some code cleanup, suggested by nisimura@. 2011-03-11 17:46:30 +00:00
pgoyette ce5b760014 Set DBCOOL_DEBUG if global DEBUG is set 2011-03-11 17:12:43 +00:00
pooka 2750f1b5f9 make the if-else logic more obvious 2011-03-11 12:11:00 +00:00
pooka 86a95d8e4b After my change to the "interface accepts this packet" logic
yesterday the CARP test stopped working, since CARP depends on
IFF_PROMISC (which was previously always accidentally enabled).
While making the interface honor IFF_PROMISC, also make it compare
the received frame's address against ifp->if_sadl instead of a
local enaddr value we cached when the interface was created.
2011-03-11 12:10:15 +00:00
pooka a6893ed075 Don't assume rump kernel PAGE_SIZE and host page size are the same. 2011-03-11 09:25:59 +00:00
bsh 1fc2db839a DIC: ARM11 MPCore's Distributed Interrupt Controller. 2011-03-11 03:26:37 +00:00
bsh 0bbe6c8fa6 split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework. 2011-03-11 03:16:13 +00:00
wiz fd1ad431e8 When panicing, at least tell the _real_ reason. 2011-03-10 22:11:05 +00:00
phx c874b8909d Make sure the device class is IDE (class 0, subclass 1), before checking
the PCI interface for native/legacy mode. Different subclasses are always
assumed being in native mode. That makes the Acard IDE controller work.

New macros for PCI interface, revision and class.
2011-03-10 21:11:49 +00:00
pooka cd97edf46b autocreate /dev/zfs. requested by riz 2011-03-10 19:24:37 +00:00
pooka fe43acc5cf Use NESTED_NOPROFILE instead of VECTOR, since VECTOR grew a
.org directive for some reason.

from sandrof
(i didn't test booting, will wait for autobuild to do the work for me)
2011-03-10 18:18:00 +00:00
tsutsui a04ed687d1 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:40:50 +00:00
tsutsui 7567d86ea5 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:22:51 +00:00
tsutsui c04c0297e4 Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:13:13 +00:00
tsutsui 8e8cc5afce Set correct struct clockframe .intr value for hardclock(9). 2011-03-10 17:05:41 +00:00