Commit Graph

116220 Commits

Author SHA1 Message Date
matt
87a6bdd6f3 Add code to init the SRAB (the switch robot). Don't configure eth3 by default. 2012-10-03 19:18:40 +00:00
dsl
4911d2e6ef Remove all references to KVM86.
It was only ever used by APMBIOS - and then only if an option was selected.
Probably didn't work well at all!
2012-10-03 18:58:30 +00:00
riastradh
5a0c6d85d2 Use db_read_value to read the trapframe fields in db_nextframe.
Fixes SIGSEGV on bt in crash(8) when the stack trace ends in syscall,
and probably other problems as well.

ok christos
2012-10-03 17:43:22 +00:00
chs
5aed578101 as a workaround for PR 47016, call ioapic_reenable() at the end of
ACPI interrupt routing to fix the settings for the SCI interrupt.
the problem is that after my recent changes, the SCI handler is
installed before the MADT info is parsed, so we don't know what
polarity it should have.  the real fix for this will be to rearrange
the ACPI initialization so that everything is done in a more sensible
order, but that will take some more time.
2012-10-03 17:04:25 +00:00
chs
5a71f29b5e defer evcnt attachment correctly. 2012-10-03 16:51:44 +00:00
skrll
ad1491c110 Use armreg_ttbr_read instead of local version. No code change. 2012-10-03 13:13:38 +00:00
skrll
99a398814b Remove one set of _[AS] defines. No functional change. 2012-10-03 13:06:06 +00:00
skrll
bfab5757c2 Remove some unnecessary headers. 2012-10-03 13:01:27 +00:00
skrll
c6e1291175 Update copyright 2012-10-03 13:00:47 +00:00
mlelstv
b7abe5ff3b ext_ops does not change during the life cycle and can be fetched without
the mutex held. This avoids confusion in the compiler about an uninitialized
variable ext_ops.
ok rmind@
2012-10-03 12:24:56 +00:00
mlelstv
582d3a41a2 Add sanity check to sysctl_kern_maxvnodes. 2012-10-03 07:22:59 +00:00
mlelstv
c7b0abd4dd Use getdisksize() to find out geometry, fetch only other magic values
from disklabel.
2012-10-03 07:20:50 +00:00
mlelstv
ff64c602d8 Only initialize when we are the first opener. 2012-10-03 07:16:49 +00:00
mlelstv
ec54e2b865 use media_table instead of replicating code 2012-10-03 07:08:58 +00:00
mlelstv
fb998a2dbc Attach to PMF. 2012-10-03 07:07:04 +00:00
mlelstv
aac856dfae No longer determine availability of ISO and UDF partitions, we default
to allow access to both. Only use a found ISO header to access the
correct session.
2012-10-03 07:05:51 +00:00
mlelstv
b01953ad5a regen 2012-10-03 06:58:03 +00:00
mlelstv
7e7c7456b5 two more FTDI USB->serial adapters 2012-10-03 06:57:36 +00:00
christos
b1425120c0 move from common/pmap/tlb -> uvm/pmap 2012-10-03 00:51:45 +00:00
christos
c3ed0c68a2 common is no more. 2012-10-02 23:55:21 +00:00
christos
b2118b5ea1 move common/bus_dma/ -> dev/bus_dma/ 2012-10-02 23:54:51 +00:00
christos
e62c0b0fdf move common tlb stuff to uvm 2012-10-02 23:51:39 +00:00
christos
cf41d09769 fix path 2012-10-02 23:49:19 +00:00
christos
4b4465bd03 moved from src/sys/common/bus_dma 2012-10-02 23:39:43 +00:00
mlelstv
2897603d95 Don't call ureadc() with a spinlock held because ureadc() may fault when
writing to userspace.
2012-10-02 23:10:34 +00:00
msaitoh
ca34255e60 - Fix a bug that a fragmented packet is marked as bad checksum. It causes
a real bug when HW checksum offload function is used. It was easy to
  reproduce with NFS UDP mount.
- Fix a potential bug that a packet other than TCP and UDP is marked as bad
  checksum.
2012-10-02 15:22:46 +00:00
christos
8e4cb02016 regen 2012-10-02 01:46:20 +00:00
christos
1ec743232e kernel portion of clock_nanosleep() 2012-10-02 01:44:27 +00:00
dsl
9ddf6f9c74 apmcall.o no longer exists. 2012-10-01 17:35:57 +00:00
dsl
7934999d82 Remove 'struct apm_connect_info' - part of the i386 APM bios interface.
There are no references to it anywhere in all of $SRC.
2012-10-01 17:32:28 +00:00
dsl
1f29bb23a2 Remove some definitions that were part of the APM bos interface. 2012-10-01 17:30:39 +00:00
dsl
85d5310461 Delete some not-used APM offsets 2012-10-01 17:26:41 +00:00
jdc
5b7bfe8cd0 Match the Rage Mobility M1 used in the Tadpole SPARCle. 2012-10-01 09:25:01 +00:00
dsl
5eb5222cc8 Remove code from dev/apm/apm.c for setting global variables to parameterise
the i386 bios apm code (now removed).
Remove the same code from the clone dev/hpc/apm/apmdev.c
Remove some not-used options from dev/apm/files.apm and the commented out
  lines in ALL and GENERIC.
Maybe the APM_V10_ONLY and APM_NO_V12 could also be shot, but they are
  further entwined in the code.
2012-09-30 21:36:18 +00:00
dsl
944f28ff5e Remove the fields were are only used by the 'now removed' i386 APC bios
support.
2012-09-30 21:05:14 +00:00
dsl
c22ade8a26 Fix build.
I've removed 'option apmbios' so config no longer generates apmbios.h
Not to be confused with dev/apm/apmbios.h :-)
2012-09-30 20:54:52 +00:00
dsl
e727babbeb Remove the obvious parts of i386 Advanced power management 'apm' support.
This is the code that predates ACPI, and might once have been able to
  power down some laptops.
It hasn't been compiled for ages (it isn't it i386/ALL or any other
  standard kernel) and hasn't worked for even longer.
The APM specification was made obsolete by ACPI before it was widely
  implemented.
This will allow some other, even more dubious code be removed.
Unfortunately apmbios.h is used by the world !
2012-09-30 20:19:51 +00:00
mlelstv
cfb7ebba73 Provide consistent locking around getc() in ttread(). This is necessary
to prevent crashes in MPSAFE tty drivers like ucom.
2012-09-30 11:49:44 +00:00
dsl
219dae9ba5 Fix debug build 2012-09-30 11:29:42 +00:00
dholland
85c764df3c Requires <sys/queue.h> for LIST_ENTRY and netinet/in.h for struct in_addr. 2012-09-30 05:13:12 +00:00
dholland
7bb3c82fdb Requires <net/if.h> to be compilable by itself. 2012-09-30 05:08:08 +00:00
dholland
42222eb321 u_long -> unsigned long, so this header compiles on its own like it
should. (and without adding <sys/types.h>)
2012-09-30 05:02:08 +00:00
chs
25ae74a8a7 fix the DRM string sysctls to use copyout() instead of strcat()
to deliver the data to the user buffer.
2012-09-29 14:19:43 +00:00
gsutre
0483888a2b regen 2012-09-29 10:27:23 +00:00
gsutre
d0a074ebe6 Add Intel Ivy Bridge host bridge and integrated graphics device IDs,
from the Linux Intel AGP driver.
2012-09-29 10:26:14 +00:00
ryo
82faf91665 Defer attaching interrupt evcnts in the same way as i80321.c by matt@ 2012-09-28 20:08:13 +00:00
christos
dd9082089d Loganaden Velvindron:
From "http://tools.ietf.org/html/draft-ietf-6man-ipv6-atomic-fragments-00":

A host that receives an IPv6 packet which includes a Fragment
Header with the "Fragment Offset" equal to 0 and the "M" bit equal
to 0 MUST process such packet in isolation from any other packets/
fragments, even if such packets/fragments contain the same set
{IPV6 Source Address, IPv6 Destination Address, Fragment
Identification}.  That is, the Fragment Header of "atomic
fragments" should be removed by the receiving host, and the
resulting packet should be processed as a non-fragmented IPv6
datagram.  Additionally, any fragments already queued with the
same set {IPV6 Source Address, IPv6 Destination Address, Fragment
Identification} should not be discarded upon receipt of the
"colliding" IPv6 atomic fragment, since IPv6 atomic fragments do
not really interfere with "normal" fragmented traffic.
2012-09-27 23:10:00 +00:00
matt
7eecb733fe Add PSR_HYP32_MODE (hypervisor mode). 2012-09-27 21:48:17 +00:00
matt
bb09e68bff Make sure SPSR[23:8] is set to a known valid value (taken from CPSR). 2012-09-27 21:28:13 +00:00
rmind
ea775f7598 exit_lwps, lwp_wait: fix a race condition by re-trying if p_lock was dropped
in a case of process exit.  Necessary to re-flag all LWPs for exit, as their
state might have changed or new LWPs spawned.

Should fix PR/46168 and PR/46402.
2012-09-27 20:43:15 +00:00