Commit Graph

236780 Commits

Author SHA1 Message Date
jmcneill f57dc65f83 For DDC, we don't have a real I2C bus, but instead read an EDID block at
a time. Read the blocks ourselves instead of pulling in ddc_read_edid.
2015-07-25 15:19:54 +00:00
hannken 0df0ac5339 Another lfs superblock accessor (inside #ifdef 0). 2015-07-25 13:01:06 +00:00
martin 7f29db77f4 Use accessors in DEBUG and DIAGNOSTIC code as well 2015-07-25 10:40:35 +00:00
mlelstv 1cd8415fdc Handle getfsspecname errors. 2015-07-25 10:37:22 +00:00
skrll 76e78fa82e IPIs should be IPL_HIGH according to rmind@
Fix bcm2836mp_pic_{un,}block_irqs to handle timer AND mailbox interrupts
if they're both passed.  Thanks to nat@ for finding this.

Sprinkle some KASSERTs
2015-07-25 08:43:41 +00:00
maxv bf3d892cef Memory leak. Same as r1.93. I don't know why Brainy didn't detect it
earlier; or perhaps I forgot to report it.

Found by Brainy.
2015-07-25 08:36:44 +00:00
isaki bbeaff6281 indent and some KNF. 2015-07-25 07:12:30 +00:00
isaki b0705370de white space -> tab. 2015-07-25 07:06:11 +00:00
isaki 3d092e0f6e sysinst is 15*2 sect/cyl (fdXc), not 8*2 sect/cyl (it's fdXa,
DOS compatible).  It makes the loading of sysinst a bit faster.
Pointed out by Yosuke Sugahara.
2015-07-25 06:58:37 +00:00
isaki 8f16a95caf Add a comment on mnemonic that assembler cannot recognize. 2015-07-25 06:24:53 +00:00
matt 4ce48948b8 Remove unofficial AVR32 2015-07-24 21:27:03 +00:00
matt 86bf45f4e0 Add a few more EM_* 2015-07-24 21:09:25 +00:00
christos 2703f4af80 Use absolute paths for RCS commands (Martin Natano) 2015-07-24 18:56:44 +00:00
christos 8bfaa68572 From Martin Natano @bitrig: Use execve(2) instead of system to apply patches
that require rcs command execution instead system(3) to avoid malicious
filenames in patches causing bad things to happen. In the process, lose SCCS
support. It is not like we are shipping sccs commands for that to work.
2015-07-24 18:56:00 +00:00
nonaka 22b9180f78 Use pci_intr_alloc(). 2015-07-24 15:43:38 +00:00
hannken bc85f6dde2 Operation pmap_tlb_processpacket() uses x86_ipi(.., LAPIC_DEST_ALLEXCL, ...)
when cpuset "target" equals "kcpuset_running".  During boot, while some CPUs
are not running yet, this will result in more IPI interrupts than expected
and "pmap_tlb_pendcount" related KASSERTs fire.

Compare the cpuset "target" against "kcpuset_attached", as this set represents
the CPUs LAPIC_DEST_ALLEXCL will notify.

Should fix PR port-amd64/47437
2015-07-24 15:20:37 +00:00
pooka 5ede295be8 Since the rump kernel does not know when the container it's running in
actually halts, print "halted" in the hypercall.
2015-07-24 14:11:11 +00:00
maxv 6647020bbc Unused inits (harmless).
Found by Brainy.
2015-07-24 13:02:52 +00:00
maxv 7ad874c499 typo (comment) 2015-07-24 12:29:55 +00:00
knakahara 63ee2a18ca fix typo. reported by nonaka@n.o 2015-07-24 07:40:58 +00:00
ozaki-r 0e93629237 Fix rtfree-ing wrong rtentry 2015-07-24 07:36:29 +00:00
mrg d4842dda23 un-obsolete xf86-video-intel-old components that were being installed
but deleted by postinstall.
2015-07-24 07:13:34 +00:00
dholland adca8af59e More lfs superblock accessors.
(This changes the rest of the code over; all the accessors were
already added.)

The difference between this commit and the previous one is arbitrary,
but the previous one passed the regression tests on its own so I'm
keeping it separate to help with any bisections that might be needed
in the future.
2015-07-24 06:59:31 +00:00
dholland f59b8f4b3a Switch to accessor functions for elements of the LFS on-disk
superblock. This will allow switching between 32/64 bit forms on the
fly; it will also allow handling LFS_EI reasonably tidily. (That
currently doesn't work on the superblock.)

It also gets rid of cpp abuse in the form of fake structure member
macros.

Also, instead of doing sleep/wakeup on &lfs_avail and &lfs_nextseg
inside the on-disk superblock, add extra elements to the in-memory
struct lfs for this. (XXX: these should be changed to condvars, but
not right now)

XXX: this migrates a structure needed by the lfs code in libsa (struct
salfs) into lfs.h, where it doesn't belong, but for the time being
this is necessary in order to allow the accessors (and the various
lfs macros and other goop that relies on them) to compile.
2015-07-24 06:56:41 +00:00
dholland 656ac806f0 Rearrange the structures in the lfs bootbollocks slightly.
This generates the same output (at least on amd64) but will be more
robust until we're ready to deploy lfs64 bootblocks too.

XXX: I don't think these actually work right now, and the logic for
picking between v1 and v2 lfs formats (which is not related to ffsv1
vs. ffsv2) is definitely broken. But I haven't made it any worse.
2015-07-24 06:53:24 +00:00
dholland c63e51c9e7 ulfs2_dinode, having never actually been used with lfs, doesn't have a
di_inumber field. Fix that. First preliminary step on PR 50000.
2015-07-24 06:51:46 +00:00
knakahara b9b0fe1ae3 fix pci_intr_alloc(..., NULL, 0). reported nonaka@n.o 2015-07-24 06:49:58 +00:00
martin c626bf992a Pass the device, not the struct softc to config_found().
Avoids a crash at attach time, PR port-i386/50076.
2015-07-24 06:17:10 +00:00
ryo 3cc9aab310 KNF 2015-07-24 05:20:01 +00:00
ryo ae00560ff5 - fix sc_ev_missing_ticks over-counting.
- don't use 64bit division, because it has expensive cost on gcc/arm
  whether it is a constant or not.

'delta' is usually taken a value around sc_autoinc depending on timing
of read. therefore 'delta / sc->sc_autoinc' would be count too much.
2015-07-24 05:19:13 +00:00
matt 49cb8763aa If we are sending a window probe and there's unacked data in the socket, make
sure at least the persist timer is running.
2015-07-24 04:33:50 +00:00
matt 6de0fc0ff8 Make sure that snd_win doesn't go negative. 2015-07-24 04:31:20 +00:00
mrg 1f8bf413af libdri2.a is still installed. 2015-07-24 04:29:27 +00:00
jmcneill f74c15ad09 use SDHC_FLAG_NO_TIMEOUT 2015-07-23 23:53:14 +00:00
jmcneill 3cc75aa740 Add a SDHC_FLAG_NO_TIMEOUT quirk to handle spurious timeouts on Tegra K1
during data transfers. While here, increase the soft timeout for DMA
transfers from 1s to 3s.
2015-07-23 23:52:54 +00:00
jmcneill a0ed8809cc Support fractional dividers. This lets us use 48MHz for SDMMC HS mode
instead of 45.333MHz.
2015-07-23 18:22:05 +00:00
riz e3d8d886ce Implement "status" command for postfix - makes tools like ansible
happier.
2015-07-23 17:12:16 +00:00
jmcneill 80bbdecc5c no need for exact match on tmds mode, just use the closest match 2015-07-23 15:43:06 +00:00
skrll 46b3ff0205 More defines 2015-07-23 15:08:19 +00:00
skrll 3259c0d7d8 CAR_PLLD_BASE_REG defines 2015-07-23 15:07:31 +00:00
jmcneill 53bd7bda47 add Tegra124 HDMI support 2015-07-23 14:31:05 +00:00
jmcneill 1e8904dc9e fix some clocks; many periph dividers are in units of 0.5x not 1x, use PLLD2 for DC, use correct pldiv value for PLLD2 2015-07-23 14:30:06 +00:00
ozaki-r 7dd2779b49 Reflect a fix for bridge
Due to PR 48104, some tests of ping/ping6 were failed but the tests now
should be successful. So reverse atf_check.

Bonus: the fix for PR 48104 also fixes another uknown failure.
2015-07-23 11:05:34 +00:00
ozaki-r 18566c8cca Fix PR 48104
So far bridge cannot receive frames via a member interface when the frames
come from another member interface. So when we assign an IP address to
a member interface, hosts connected to another member interface cannot
ping to the IP address. That behavior isn't expected. See PR 48104 for
more realistic examples of this issue.

The change does:
- drop M_PROMISC before ether_input, which allows a bridge member interface
  to receive a frame coming from another bridge member interface
- receive broadcast/multicast frames via all bridge member interfaces,
  which is required to receive IPv6 multicast packets destined to a
  multicast group belonging to a bridge member interface that is different
  from a packet arrival interface

roy@ helped testing of the fix, thanks!
2015-07-23 10:52:34 +00:00
hannken 56b07d2782 union_unmount: use vfs_vnode_iterator to count attached vnodes. 2015-07-23 09:45:21 +00:00
mrg 0aac484359 remove some duplication; pointed out by pgoyette. 2015-07-23 09:37:59 +00:00
msaitoh 34e6d56081 Fix a bug that I21[01] NVM revision >= 3.25 can't be attached.
Reported by MATSUI Yoshihiro.
2015-07-23 08:29:58 +00:00
msaitoh a38a7538bb The WM_F_EEPROM_EERDEEWR is not required on iNVM device. 2015-07-23 08:24:07 +00:00
mrg cf4dd8937a remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
mrg 8dc8986a69 remove obsolete directories (that are always removed by postinstall at
the end of the build.)
2015-07-23 07:45:44 +00:00