Commit Graph

107864 Commits

Author SHA1 Message Date
matt
1446ab5e31 Add some more reloc types as well as DT_PPC_GOT 2011-01-15 10:00:07 +00:00
matt
fe39ae56e7 Add END(sym)
Add __RCSID (to match cdefs.h)
2011-01-15 07:23:49 +00:00
jruoho
a89366190f acpi_md_ncpus(): use cpu_attached instead of cpus_running. 2011-01-14 18:33:34 +00:00
skrll
a2bd31953e Tweak aprint_verbose output. 2011-01-14 16:48:15 +00:00
skrll
df481c9844 Copy the pdc_iodc_read data when creating a device. 2011-01-14 16:37:11 +00:00
pooka
cf864401d0 Support SIGMODEL_RAISE for non-local clients. 2011-01-14 13:11:08 +00:00
phx
7c6b4cb486 Include new bppcsc(4) driver from amiga. 2011-01-14 12:54:39 +00:00
pooka
bb583c67a3 Release etfs node's backing vnode before freeing the etfs node.
spotted from the LOCKDEBUG run that martin accidentally did
2011-01-14 11:07:42 +00:00
martin
72b336b07f Using "int" variables with sysctl's CTLTYPE_BOOL is a simple receipt to
loose on big endian machines. So make the variables "bool".
2011-01-14 10:18:21 +00:00
phx
d7852f7e49 bppcsc(4) 2011-01-14 10:05:14 +00:00
phx
4b0a64a12a regen 2011-01-14 10:03:44 +00:00
phx
65ec95e637 Driver for BlizzardPPC 603e+ SCSI host adatper.
Patch submitted by Radoslaw Kujawa.
2011-01-14 10:01:12 +00:00
reinoud
20846619eb Metadata partition (v2.50+) bugfix commit :
* fix copying of the extents of the metadata node to the metadatamirror node;
  it was not copying all extents.

* fix truncing metadata partition:
   * fix endian conversions
   * fix information length calculation so its truncated to the right length!

* allow for setting maximum extent length in extent merging. This is needed
  since extents in the metadata partition files are only to be in allocation
  unit sizes.

* adjust grow and shrink node to set the granularity of the maximum length of
  an extent when encountering a metadatafile or metadatamirror file.
2011-01-14 09:09:18 +00:00
jmcneill
f0d64b3259 hda_error->hda_debug when tracing an adc assoc fails 2011-01-14 03:16:37 +00:00
rmind
7146b2f61d Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.
2011-01-14 02:06:22 +00:00
phx
1992693730 Recognize Amiga 600 model.
Patch submited by Radoslaw Kujawa.
2011-01-13 22:02:05 +00:00
phx
6f325f1347 Configure transfer mode registers to PIO mode. It seems to work without, but
just to be on the safe side.
2011-01-13 21:54:14 +00:00
skrll
e44006ac79 KNF 2011-01-13 21:44:13 +00:00
skrll
4dfecf969c Redo the way devices are found.
Probe "Snake" machines with PDC_MEMMAP and others with PDC_SYSTEM_MAP.

Some PDCs don't tell us about all devices and/or the whole device tree.
Walk each bus to find these unreported devices.
2011-01-13 21:15:13 +00:00
pooka
a4d5652afb Introduce RUMP_LOCALPROC_P() macro and use it. 2011-01-13 15:38:29 +00:00
jruoho
f82830f374 Postpone the sensor update with sysmon_taskq(9). 2011-01-13 14:25:33 +00:00
pooka
07b10a7b73 Add some support for unionfs (not built by default). It's still
missing at least opaque directory support, but until someone figures
out how that should work on ffs (see PR kern/kern/44383), there's
no point in trying to figure out how it should work here.
2011-01-13 13:35:11 +00:00
reinoud
914876a617 Fix the case in where a file with a latin1 file name was created. It was then
erronously entered as thelatin1 file name in the dirhash whereas the matching
routing assumes both UTF-8. This would result in a file being created but not
stat-able since the dirhash couldn't find the entry unless it was remounted.
2011-01-13 13:13:31 +00:00
jruoho
3c51ce4b05 Upon request from jmcneill@, put the check back that prevents unnecessary
readings during the sysmon_envsys(9) poll cycle. Some systems (notably,
Asus EeePC) have so badly implemented AML that reading the values via
envstat(8) alone can cause considerable delays.
2011-01-13 13:05:13 +00:00
hannken
11f5c95248 Layer_revoke(): change previous to always take an extra reference on the
lower vnode before passing down the VOP_REVOKE().  This way VOP_REVOKE()
on a layered file system always inactivates and closes the lower vnode.

Should finally fix PR kern/43456.
2011-01-13 10:28:38 +00:00
pooka
81d086b2f7 Respect DOWHITEOUT when removing a directory. 2011-01-13 10:26:47 +00:00
pooka
bf67d44461 support MNT_RDONLY 2011-01-13 07:27:35 +00:00
pooka
4a92140584 allow file system to decide if it can be downgraded from r/w to r/o 2011-01-13 07:25:50 +00:00
pooka
f5c7baed05 fix incorrect value of IMNT_MPSAFE in __IMNT_FLAG_BITS 2011-01-13 07:23:39 +00:00
jruoho
f861d1bc75 Clean-up acpi_print(). XXX: The 'acpiverbose' module is still broken... 2011-01-13 05:58:05 +00:00
mrg
1f2bf84678 introduce a hack to workaround the savefpstate IPI get's NULL
struct fpstate *.

add a new entry point ipi_savefpstate() that is used for this IPI
instead of the plain ipi_savefpstate().  check for %o0 being NULL,
and if so, just return.

add event counters for the savefpstate IPI, and another one for
when it detects the NULL problem.

make the cpu_info struct xmpsg be aligned to a single cache line.

with this change applied (and another minor change in testing) my
SS20 with dual SM75's has survived for 17 hours on build.sh -j5,
and has reported 7 NULL savefps.  (the minor change seems to have
a significant effect at reducing this number, but more testing is
needed for it.)


XXX:  this is horrible and we really need to find the real problem
XXX:  but this should let people use sparc smp again, and fixes
XXX:  for the real problem can be tested by seeing if any of the
XXX:  savefp IPI null counter becomes non-zero.
2011-01-13 05:20:27 +00:00
jruoho
710112e7c7 Scan for docking stations. 2011-01-13 05:14:48 +00:00
jruoho
3dd22c3c2c Do not try to attach more ACPI CPUs than the amount of "real" CPUs. 2011-01-13 04:18:19 +00:00
jruoho
55bd26d109 Add a comment. 2011-01-13 03:45:38 +00:00
jruoho
99d6864d21 Move the function that counts the CPUs from acpicpu(4) to the MD layer. 2011-01-13 03:40:50 +00:00
jmcneill
b17fda8006 Handle overlapping variable-range MTRRs following the rules defined in
section 11.11.4.1 "MTRR Precendes" of the Intel(R) 64 and IA-32
Architectures Software Developer's Manual, Volume 3A.
2011-01-12 23:52:38 +00:00
joerg
d3a052c472 Allow use of traditional CPP to be set on a per platform base in sys.mk.
Honour this for dependency processing in bsd.dep.mk.  Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.
2011-01-12 23:12:10 +00:00
joerg
664edd5c61 Drop the build date from the iasl binary. 2011-01-12 22:53:16 +00:00
skrll
a40358ae2d LOCKDEBUG isn't used here. 2011-01-12 21:18:23 +00:00
pooka
5f240a5279 unionfs voodoo 2011-01-12 21:08:55 +00:00
pooka
0312c5cee5 Explicitly set *vpp to NULL in lookup. At least reluckup gets
upset if we don't explicitly nullify vpp in the error case.
2011-01-12 19:31:39 +00:00
phx
d7e7e38c1b Rewritten to take advantage of the new MI motoi2c code. 2011-01-12 18:09:03 +00:00
phx
77d12ff8eb Fixed DPRINTF macro to make it compile when DEBUG is not defined. 2011-01-12 18:06:26 +00:00
phx
846d34516e Include i2cvar.h for i2c_controller, which is usually not needed by devices
using this MI driver, so they shouldn't have to bother with that.
2011-01-12 18:05:18 +00:00
pooka
0f41405209 reject r/o mount attempts 2011-01-12 17:20:54 +00:00
pooka
8c4600a2ed Mark rootfs r/w. Thanks to the incredible machine known as vfs,
the only one who noticed the inconsistency of writing to a r/o fs
was unionfs.
2011-01-12 17:14:34 +00:00
pooka
6f53b4a35d make this happy to compile standalone 2011-01-12 16:12:30 +00:00
tsutsui
e3b6673e18 Pull a fix from src/sys/net/if_ethersubr.c rev. 1.185:
Fix off by one.
2011-01-12 15:32:43 +00:00
tsutsui
d6f76b4a7b Fix off by one in ether_aton_r(). Noticed by "arp info overwritten" warning.
(how could it be missed for months?)
2011-01-12 15:30:40 +00:00
pooka
2bd6ac2300 add spop_procexit 2011-01-12 12:51:47 +00:00