| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=103846
|
| |
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=103845
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103844
|
| |
|
|
|
|
|
| |
get prompted by Peter's commit to fix spaces that should be tabs in #defines
Notes:
svn path=/head/; revision=103843
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103842
|
| |
|
|
|
|
|
| |
#define<tab> in spite of trying to make sure I didn't do this.
Notes:
svn path=/head/; revision=103841
|
| |
|
|
|
|
|
|
|
| |
this DOES NOT WORK YET. (well it kind-of-does but it's unsafe)
Submitted by: davidxu
Notes:
svn path=/head/; revision=103840
|
| |
|
|
|
|
|
|
|
| |
This is needed for the COMPAT_FREEBSD3 option split.
Reviewed by: alfred, jake
Notes:
svn path=/head/; revision=103839
|
| |
|
|
|
|
|
|
|
|
| |
also some slight changes for TDF_BOUND testing and small style changes
Should ONLY affect KSE programs
Submitted by: davidxu
Notes:
svn path=/head/; revision=103838
|
| |
|
|
|
|
|
|
|
| |
prefix methodology. Adjust nearby style.
Sponsored by: Bright Path Solutions
Notes:
svn path=/head/; revision=103837
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=103836
|
| |
|
|
|
|
|
|
|
| |
(support code not yet complete)
Submitted by: davidxu
Notes:
svn path=/head/; revision=103835
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=103834
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103833
|
| |
|
|
|
|
|
|
|
| |
also add a mutex assert. (threaded path only)
Submitted by: davidxu
Notes:
svn path=/head/; revision=103832
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=103831
|
| |
|
|
|
|
|
|
|
| |
- Get rid of the ill conceived aq_td field.
Suggested by: rwatson
Notes:
svn path=/head/; revision=103830
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=103829
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=103828
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=103827
|
| |
|
|
|
|
|
|
|
|
|
| |
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'.
Notes:
svn path=/head/; revision=103826
|
| |
|
|
|
|
|
| |
Define ispreq64_t to be the same as ispreqt3_t.
Notes:
svn path=/head/; revision=103825
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103824
|
| |
|
|
|
|
|
| |
limitations inherent to the isp1000 on SBus cards.
Notes:
svn path=/head/; revision=103823
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=103822
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103821
|
| |
|
|
|
|
|
|
|
| |
Add in commented out:
+/* #define ISP_DAC_SUPPORTED 1 */
Notes:
svn path=/head/; revision=103820
|
| |
|
|
|
|
|
| |
(preparation for DAC/A64 support)
Notes:
svn path=/head/; revision=103819
|
| |
|
|
|
|
|
| |
The notion that you must "always" have a delay is at best misinformed.
Notes:
svn path=/head/; revision=103818
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103817
|
| |
|
|
|
|
|
| |
case.
Notes:
svn path=/head/; revision=103814
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103813
|
| |
|
|
|
|
|
| |
Spotted by: rwatson
Notes:
svn path=/head/; revision=103812
|
| |
|
|
|
|
|
|
|
|
| |
attachment.
Submitted by: too many people to count
MFC after: 3 days
Notes:
svn path=/head/; revision=103811
|
| |
|
|
|
|
|
|
|
|
|
| |
statement fail to compile if it weren't inside "#ifdef
__brokenalpha__".
Submitted by: Birger Toedtmann <birger@takatukaland.de>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=103808
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=103807
|
| |
|
|
|
|
|
|
|
|
| |
correctly. This fixes the "watchdog timeout -- resetting" errors
seen on Dell 2650 systems.
MFC after: 1 month
Notes:
svn path=/head/; revision=103806
|
| |
|
|
|
|
|
|
| |
was being cast to an integer as part of a hash function, so just
add an intptr_t cast to silence the warning.
Notes:
svn path=/head/; revision=103804
|
| |
|
|
|
|
|
|
|
|
|
| |
o Remove EOL spaces.
Submitted by: Harold Gutch <logix@foobar.franken.de> (typo patch)
Approved by: luigi
MFC after: 3 days
Notes:
svn path=/head/; revision=103802
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
the cumulative exit status being overwritten when directory permissions
were being set. This was particularly bad when called from mv(1) to
perform a cross-device move as the original files were deleted even if
the copy failed.
Reported by: Slaven Rezic <slaven.rezic@berlin.de>
Patch by: bde
PR: 42789
Notes:
svn path=/head/; revision=103801
|
| |
|
|
|
|
|
|
|
| |
DIOCGFWHEADS ioctls to return meaningful values to disklabel/newfs
Approved by: phk
Notes:
svn path=/head/; revision=103800
|
| |
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=103799
|
| |
|
|
|
|
|
|
|
| |
to propagete BSD disklabels to architectures not already so polluted.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=103798
|
| |
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=103797
|
| |
|
|
|
|
|
| |
comment phrasing and style changes.
Notes:
svn path=/head/; revision=103796
|
| |
|
|
|
|
|
| |
Approved by: bde
Notes:
svn path=/head/; revision=103795
|
| |
|
|
|
|
|
|
|
|
| |
invalidation of cached pages for objects of type OBJT_DEVICE.
Submitted by: Christian Zander <zander@minion.de>
Approved by: alc
Notes:
svn path=/head/; revision=103794
|
| |
|
|
|
|
|
|
| |
Restrict qualifiers were added to the existing prototypes in <inttypes.h>
and the typedef for wchar_t was removed.
Notes:
svn path=/head/; revision=103793
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From current testsuite results, the optimizer bugs don't appear to exist
anymore. RTH@cygnus.com did a lot of work on the Alpha ELF code generator
for GCC 3.2[.0]. A recent FreeBSD/AXP GCC bootstrap is at
http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00604.html
In this bootstraps, all gcc libraries are built with -O2 and c-torture
gives -O2 a real workout. None of the remaining failures have anything
to do with -O2 optimizer bugs.
Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>
Notes:
svn path=/head/; revision=103792
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103791
|