wiz
91e17787cb
Fix path to firmware. From ISIHARA Takanori in PR 47076.
2012-10-14 17:52:55 +00:00
tsutsui
f5ea236221
Terminate DMAC and call bus_dmamap_unload(9) properly in all FDC xfer
...
error paths, as sys/dev/isa/fd.c does. Fixes unexpected DMAC errors
(and possible VM panic due to un-unloaded dmamap) on the first floppy
access after read/write errors.
2012-10-14 17:25:59 +00:00
tsutsui
75c98cb8e5
Before probing floppy drives, call NE7CMD_SENSEI and fdcresult()
...
to drain possible pending FDC interrupts. Taken from sys/dev/isa/fd.c.
Hopefully might fix occasional fd drive probe failure (but not confirmed).
2012-10-14 17:20:18 +00:00
tsutsui
e7496b5fd1
To abort DMA in dmac_abort_xfer(), set DMAC_CCR_SAB (software abort)
...
rather than DMAC_CCR_HLT (halt operation).
DMAC_CCR_HLT doesn't abort DMA xfers but only suspends DMA ops
(i.e. clearing HLT bit will resume DMA xfers), so previously
DMAC error always occurs on the next DMA xfer ops after
dmac_abort_xfer() is called.
Also suppress DMAC error messages in dmac_error() if it's caused
by software abort command because it can happen during normal
audio play/record DMA ops in vs(4) driver.
2012-10-14 16:36:31 +00:00
tsutsui
eaa9cbdf28
Check lp->d_npartitions before calling dkcksum()
...
(which is in src/sbin/disklabel/dkcksum.c) because
it doesn't check range and could cause coredump during
installboot against floppy that includes garbage in LABELSECTOR.
2012-10-14 16:20:04 +00:00
skrll
697a2ce91b
Add the Raspberry PI firmware VC mailbox channel numbers.
...
Add some VC property tag definitions and use them to get ARM/VC memory
split.
Grab a few others things in the process, but don't do anything other than
display them when VERBOSE_INIT_ARM is defined.
2012-10-14 16:16:52 +00:00
msaitoh
a2b8c7fb07
struct device * -> device_t for IXP4xx (and nslu2).
...
Tested with my NSLU2.
2012-10-14 14:20:57 +00:00
msaitoh
ff5995751c
Add PTYFS
2012-10-14 13:54:39 +00:00
phx
56704dbbf0
ed_ring structure is no longer needed for compatibility, as the last
...
device driver using it (amiga/ed(4)) has been converted now.
2012-10-14 13:38:13 +00:00
phx
4468ae6d60
New ed(4) device driver for Hydra and ASDG Zorro2 bus network cards.
...
This driver is based on the MI dp8390 backend.
2012-10-14 13:36:07 +00:00
msaitoh
255c8c559e
Add some files to complete "make release" for big endian.
2012-10-14 12:36:57 +00:00
njoly
4718852312
Add a width argument to tag list, otherwise mandoc output is just
...
unreadable.
2012-10-14 10:05:55 +00:00
njoly
c4ffda7b9e
Quote .Cd argument.
2012-10-14 10:03:47 +00:00
dholland
8b39f69929
typo
2012-10-14 08:49:28 +00:00
plunky
048d95d5ff
no trailing comma on enum
2012-10-14 08:35:45 +00:00
plunky
c61317e3bf
add code to ensure that SO_SNDBUF is large enough on client connections,
...
as was previously done for server mode
2012-10-14 08:31:35 +00:00
jmmv
aec6efdd3a
Add missing ./usr/X11R7/lib/modules/libexa_g.a to fix MKDEBUGLIB=yes build.
2012-10-13 21:21:52 +00:00
dholland
9d2c006837
Improve the diagnostic messages for invalid/non-ELF files. Proposed a
...
while back; I forget the context. Has been sitting in one of my trees
awaiting a test run since, apparently, August 2011.
2012-10-13 21:13:07 +00:00
dholland
a59cfd489a
Pass -Wstrict-overflow
2012-10-13 21:03:09 +00:00
dholland
bf33b97c19
Pass -Wstrict-overflow; while here, use curses TRUE and FALSE only with
...
curses.
2012-10-13 21:01:13 +00:00
dholland
0d0b06a380
Pass -Wstrict-overflow... mostly.
2012-10-13 20:57:35 +00:00
dholland
211b175c28
Pass -Wstrict-overflow.
2012-10-13 20:42:56 +00:00
dholland
0f960348b2
Pass -Wstrict-overflow, and while here, don't read from index -1 of
...
an array.
2012-10-13 20:36:06 +00:00
dholland
8bde1deef1
Factor out some common code; pass -Wstrict-overflow.
2012-10-13 20:12:18 +00:00
dholland
e31613d908
Pass -Wstrict-overflow.
2012-10-13 19:58:53 +00:00
dholland
44d9434e65
Move scratch variables of main to main, instead of having them be
...
file-static.
2012-10-13 19:44:36 +00:00
alnsn
c0135b01f2
Enable sljit in amd64 kernel and modules.
2012-10-13 19:42:02 +00:00
dholland
396c97ad03
Add strategic assertion, now passes -Wstrict-overflow.
2012-10-13 19:39:57 +00:00
alnsn
a573b72a32
Fix compilation.
2012-10-13 19:38:24 +00:00
dholland
bc604cfe52
Remove ifdefs for V7 (as opposed to older) unix.
2012-10-13 19:25:22 +00:00
dholland
4105daf3e6
Pass the move info around instead of using it as a global.
2012-10-13 19:19:38 +00:00
dholland
8733c61f2c
Crack down on global variables with single-letter names.
2012-10-13 18:44:14 +00:00
christos
83d4b28a8e
PR/47068: unifdef(1) with cpp directive on last line without newline
...
Remove bogus test; if there is no newline, the state does not change.
2012-10-13 18:26:03 +00:00
jdc
72cae23ccb
Add two flags to keyboard/mouse attachment:
...
PCKBC_CANT_TRANSLATE for keyboards that cannot translate to XT scancodes
PCKBC_NEED_AUXWRITE for mice that don't probe first time
These flags can be set by the port-specific attachments.
2012-10-13 18:14:09 +00:00
jdc
2b0129b4a9
Add pckbc at ebus.
2012-10-13 18:00:03 +00:00
jdc
4be6ce2eeb
Adapt to the changed signature of pckbc_cnattach().
2012-10-13 17:58:53 +00:00
dholland
9e0e285e59
6.99.13 - namei NDAT() change and pckbc_cnattach()
2012-10-13 17:54:40 +00:00
jdc
343abb5591
Add the extra keys found on the Tadpole SPARCle to the keysym list.
2012-10-13 17:51:51 +00:00
jdc
b0cdfa37f7
Add two flags to keyboard/mouse attachment:
...
PCKBC_CANT_TRANSLATE for keyboards that cannot translate to XT scancodes
PCKBC_NEED_AUXWRITE for mice that don't probe first time
These flags can be set by the port-specific attachments.
Add the translation table and function to handle set 2 to set 1 keyboard
translation in software.
Based on OpenBSD sys/dev/ic/pckbc.c revisions 1.10, 1.16, 1.17, and
sys/dev/pckbc/pckbd.c revision 1.15, and 8042 scan code information at:
http://www.computer-engineering.org/ps2keyboard/
Note, that this changes the signature of pckbc_cnattach(), so ride the
kernel version bump for namei.
2012-10-13 17:51:28 +00:00
dholland
2bcf8ce0cf
regen
2012-10-13 17:47:11 +00:00
dholland
ebc30f9e8b
Replace hack implementation of NDAT() for "nameiat" with a proper one.
...
(This change requires a kernel bump.)
2012-10-13 17:46:50 +00:00
christos
c6f0835de6
add KERN_USRSTACK (this is not dynamically defined for FreeBSD compatibility)
2012-10-13 15:35:55 +00:00
njoly
b6d38f1490
Remove some more unneeded Pp macros.
2012-10-13 15:28:33 +00:00
skrll
699dbe7b38
Remove some unused includes
2012-10-13 14:22:12 +00:00
njoly
bee4003ac7
Remove a few unneeded Pp macros.
2012-10-13 14:18:16 +00:00
skrll
c3f690b91c
Change the mailbox handling so that the data value top 28 bits are used.
2012-10-13 08:42:50 +00:00
skrll
7f9014885c
Unwrap short line. Other whitespace.
2012-10-13 07:57:50 +00:00
kiyohara
8966ac16da
Fix variable name for message of printf.
2012-10-13 07:31:25 +00:00
tsutsui
5dc1a67d08
struct device * -> device_t, use device_xname() (from chs@)
2012-10-13 06:51:22 +00:00
tsutsui
c43740f59e
Fix botch on device_t/softc split in debug printf macro. from chs@
2012-10-13 06:49:26 +00:00