| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
to use DOC_LANG to specify which languages the doc/ is built for.
Note: be aware that the DOC_LANG setting in /etc/make.conf will now
take the effect on "make release". (This is probably the desired
behavior anyway.)
PR: docs/42924
|
| |
|
| |
|
|
|
|
|
| |
vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide-
character versions of the scanf() family of functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that already exists for hosts: being able to specify a section that applies
to every program *except* the one in question.
The normal syntax for program specification is still valid. For the new
capability, one uses:
!-program
Since there is no way to specify a program beginning with a dash in the old
syntax, as it would be interpreted as the case above, the following
alternative syntax to the original capability is provided:
!+program
This shouldn't introduce incompatibilities with any syslogd configuration
in production because -stable's syslogd does not support a dash anywhere in
the program specification.
MFC after: 2 weeks
|
|
|
|
|
| |
characters, non-whitespace wide character strings and wide character
strings in a scanset.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
o Move len initialization closer to place of its first usage.
o Compare len with 0 to improve readability.
o Explicitly zero out phlen in ip_insertoptions() in failure case.
Suggested by: jhb
Reviewed by: jhb
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
variable natively. It should allow you to use any sysctl mib set, but due
to limitations of what I can do with macros, right now it's limited to two,
which is all this program used anyway.
Sponsored by: Bright Path Solutions
|
|
|
|
|
|
|
| |
themselves cause a failure if it is told to use a __widget that there is
no implementation for them. missing an implementation for __unused etc is
harmless. But not having a __packed implementation when the kernel code
really needs it is a big deal.
|
| |
|
|
|
|
| |
get prompted by Peter's commit to fix spaces that should be tabs in #defines
|
| |
|
|
|
|
| |
#define<tab> in spite of trying to make sure I didn't do this.
|
|
|
|
|
|
| |
this DOES NOT WORK YET. (well it kind-of-does but it's unsafe)
Submitted by: davidxu
|
|
|
|
|
|
| |
This is needed for the COMPAT_FREEBSD3 option split.
Reviewed by: alfred, jake
|
|
|
|
|
|
|
| |
also some slight changes for TDF_BOUND testing and small style changes
Should ONLY affect KSE programs
Submitted by: davidxu
|
|
|
|
|
|
| |
prefix methodology. Adjust nearby style.
Sponsored by: Bright Path Solutions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static void const * const __set_##set##_sym_##sym
__attribute__((__section__("set_" #set),__unused__)) = &sym
becomes:
static void const * const __set_##set##_sym_##sym
__section("set_" #set) __unused = &sym
Like the other macros, these #define away for unrecognized compilers or
lint.
Also, fix the argments in the previous commit for the non-gcc case. lint
might be a bit happier about that. Note that the gcc <= 2.6 case
needs some research.
|
|
|
|
|
|
| |
(support code not yet complete)
Submitted by: davidxu
|
|
|
|
|
|
|
|
|
|
| |
expand to __attribute__((packed)) and __attribute__((aligned(x)))
respectively. Replace the handful of gcc-ism's that use
__attribute__((aligned(16))) etc around the kernel with __aligned(16).
There are over 400 __attribute__((packed)) to deal with, that can come
later. I just want to use __packed in new code rather than add more
gcc-ism's.
|
| |
|
|
|
|
|
|
| |
also add a mutex assert. (threaded path only)
Submitted by: davidxu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In mpttimeout, call mpt_intr just on the offchance that we missed
an interrupt. We can check to see whether or not the command that
is timing out got completed.
When we *do* decide to timeout a command, set the command state to
REQ_TIMEOUT and then invoke another timeout (hz/10)- mpttimeout2.
This allows us to catch a couple cases we've seen where the command
we timed out on in fact is ready to be completed by the firmware.
In any case, it's only after mpttimeout2 is called that we actually
take down the private state and free the request itself. CAM has
been notified in mpttimeout anyway. This whole area should be redone,
but that will take 105% of my available game time for this month.
Fix a couple of missing (and not useful, at presnet) CAMLOCK_2_MPTLOCK
and MPTLOCK_2_CAMLOCK locations.
Split mpt_notify into mpt_ctlop, which handles all reply completions
that have 0x800000000 or'd into the ContextID. This function can, in
fact, call mpt_event_notify_reply, which handles the traditional
async event notifications. While we're at it, put in the extremely
important (but currently untested) code that send back an Ack to
an Event Notification (if the Event Notification is marked with
AckRequired). Note that an Ack also generates another ctlop completion,
tra la.
Fix up mpt_done substantially to try and get how we plug into CAM
correctly done. Remove bogus CAM_RELEASE_SIMQ settings.
Do some cleanups in mpt_action that are related to speed negotiation
for Ultra4 cards. This is an area that is still quite fragile and
worrisome as config data being read back often doesn't make sense or
jibe with the documentation.
At any rate, after these changes were done, I was finally able to
get Lars Eggert's dual 320M disk system to stay up under load all
weekend- hopefully we're in good enough for now shape.
MFC after: 1 week
|
|
|
|
|
|
| |
- Get rid of the ill conceived aq_td field.
Suggested by: rwatson
|
|
|
|
|
|
|
|
|
| |
pointing this out.
In mpt_intr, don't try and pop a reply queue element out *unless*
the interrupt status says you might have one.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
Define the CFG_DAGA_OFF offset as 128 bytes instead of 40- gives us
a more reasonable headroom.
When reading a config page, zero out the entire request area- not just
the length of the request. This is because we cleverly (cheezily) return
configuration data back into the allocated request area, so it's nice
to make sure we start with a clean area to write on.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Instead, based upon whether ISP_DAC_SUPPORTED is defined, typedef
isp_dma_addr_t appropriately.
If ISP_DAC_SUPPORTRED is defined, the DMA_WD2/DMA_WD3 macros do something
useful, else they define to '0'.
|
|
|
|
| |
Define ispreq64_t to be the same as ispreqt3_t.
|
| |
|
|
|
|
| |
limitations inherent to the isp1000 on SBus cards.
|
|
|
|
|
|
|
|
|
|
|
| |
defined, we set the address space limitation to BUS_SPACE_UNRESTRICTED,
otherwise to BUS_SPACE_MAXADDR_32BIT.
If we have a 1240, ULTRA2 or better, or an FC card, the boundary limit
is BUS_SPACE_UNRESTRICTED and segment limit is BUS_SPACE_MAXADDR_32BIT.
The older 1020/1040 cards have boundary and segment limits of
BUS_SPACE_MAXADDR_24BIT.
|
| |
|
|
|
|
|
|
| |
Add in commented out:
+/* #define ISP_DAC_SUPPORTED 1 */
|
|
|
|
| |
(preparation for DAC/A64 support)
|
|
|
|
| |
The notion that you must "always" have a delay is at best misinformed.
|
| |
|
|
|
|
| |
case.
|
| |
|
|
|
|
| |
Spotted by: rwatson
|
|
|
|
|
|
|
| |
attachment.
Submitted by: too many people to count
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
statement fail to compile if it weren't inside "#ifdef
__brokenalpha__".
Submitted by: Birger Toedtmann <birger@takatukaland.de>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
disabling memory write invalidate unconditionally. It looks like
they've decided that MWI just doesn't work with these devices.
Also, remove now-irrelevant code that set PCI write boundary values
based on the cache line size.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
correctly. This fixes the "watchdog timeout -- resetting" errors
seen on Dell 2650 systems.
MFC after: 1 month
|