summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not add a start offset time to the track duration time.maxim2002-09-231-1/+2
| | | | | Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru> MFC after: 2 weeks
* ALLLANG is long dead, garbage collect it. Instead, make it possibleru2002-09-231-10/+6
| | | | | | | | | | 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
* Don't use local variable 'p' in a debug statement.. we removed it.julian2002-09-232-2/+2
|
* oops don't do dthe copy range in a new KSE. There isn't one any more.julian2002-09-231-0/+2
|
* Add implementations of wscanf() and related functions: fwscanf(), swscanf(),tjr2002-09-2310-6/+1538
| | | | | vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide- character versions of the scanf() family of functions.
* Introduce to the !program specification a capability similar to the onedcs2002-09-232-2/+25
| | | | | | | | | | | | | | | | | | | | | | 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
* Implement the %lc, %ls and %[ conversions, which read sequences of widetjr2002-09-232-16/+137
| | | | | characters, non-whitespace wide character strings and wide character strings in a scanset.
* The character argument for __ungetwc() should be wint_t instead of wchar_t.tjr2002-09-231-1/+1
|
* Slightly rearrange a code in rev. 1.164:maxim2002-09-231-4/+8
| | | | | | | | | | 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
* Remove a bunch of stuff that is surplus nowjulian2002-09-232-85/+1
|
* PIC_GOTOFF is OBE.peter2002-09-233-7/+0
|
* - Include sys/ktr.h so that vnode_if.h can define trace points.jeff2002-09-231-0/+1
|
* use __packed, rather than __attribute__((packed)).peter2002-09-232-8/+6
|
* Use some macro evil to create the functions for using sysctl(3) to get eachjmallett2002-09-231-83/+38
| | | | | | | | 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
* Alfred got me thinking. Provide stubs for lint, and let the compilerspeter2002-09-231-5/+11
| | | | | | | 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.
* use __packed/__aligned rather than GCC-specific __attribute__.alfred2002-09-233-16/+16
|
* White space commit...julian2002-09-231-63/+63
| | | | get prompted by Peter's commit to fix spaces that should be tabs in #defines
* s/__attribute__((__packed__))/__packed/galfred2002-09-239-50/+50
|
* I cannot win. I still managed to use #define<space> twice instead ofpeter2002-09-231-2/+2
| | | | #define<tab> in spite of trying to make sure I didn't do this.
* Add ability to make threads that run on > 1 cpujulian2002-09-232-41/+191
| | | | | | this DOES NOT WORK YET. (well it kind-of-does but it's unsafe) Submitted by: davidxu
* Don't use compatability syscall wrappers in emulation code.mini2002-09-237-25/+64
| | | | | | This is needed for the COMPAT_FREEBSD3 option split. Reviewed by: alfred, jake
* slightly clean up the thread_userret() and thread_consider_upcall() calls.julian2002-09-234-29/+53
| | | | | | | also some slight changes for TDF_BOUND testing and small style changes Should ONLY affect KSE programs Submitted by: davidxu
* Check to see if we should print a space, rather than using the annoyingjmallett2002-09-231-12/+12
| | | | | | prefix methodology. Adjust nearby style. Sponsored by: Bright Path Solutions
* Add a __section(x) macro as well. Use this in linker_set.h. ie:peter2002-09-232-4/+7
| | | | | | | | | | | | | | 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.
* Add code to create > 1 KSe per process.julian2002-09-231-16/+39
| | | | | | (support code not yet complete) Submitted by: davidxu
* At great personal risk, add a __packed and __aligned(x) define thatpeter2002-09-239-8/+14
| | | | | | | | | | 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.
* - Automatically generate and insert KTR points in all VOPs.jeff2002-09-231-0/+24
|
* Indentation does not define a block.. you need breces {} as well..julian2002-09-231-1/+3
| | | | | | also add a mutex assert. (threaded path only) Submitted by: davidxu
* Wads more cleanup...mjacob2002-09-231-176/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - Hold the credential of the caller and use it in all subsequent vn ops.jeff2002-09-231-6/+7
| | | | | | - Get rid of the ill conceived aq_td field. Suggested by: rwatson
* Recognize the single channel 2Gb card (FC919)- thanks to LSI Logic formjacob2002-09-231-2/+14
| | | | | | | | | 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
* We do not need to expose mpt_notify outside of mpt_freebsd.c.mjacob2002-09-231-1/+0
| | | | MFC after: 1 week
* When freeing a request, zero out the sequence number.mjacob2002-09-231-2/+3
| | | | | | | | | | | | 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
* Remove ISP_DMA_ADDR_T definition.mjacob2002-09-231-10/+17
| | | | | | | | 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'.
* Add MBOX_INIT_REQ_QUEUE_A64/MBOX_INIT_RES_QUEUE_A64 definitions.mjacob2002-09-231-0/+6
| | | | Define ispreq64_t to be the same as ispreqt3_t.
* Delete a whole bunch of compatability defines that we dont use anymore.peter2002-09-232-12/+0
|
* Redo dma tag creation to correctly reflect the boundary and segmentmjacob2002-09-231-8/+7
| | | | limitations inherent to the isp1000 on SBus cards.
* Re-specify the bus space creation such that if we have ISP_DAC_SUPPORTEDmjacob2002-09-231-8/+12
| | | | | | | | | | | 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.
* Fix buglet in A64 CTIO3 structure copy.mjacob2002-09-231-1/+1
|
* Remove ISP_DMA_ADDR_T define (see ispvar.h)mjacob2002-09-231-1/+4
| | | | | | Add in commented out: +/* #define ISP_DAC_SUPPORTED 1 */
* If we have a 1240 or an ULTRA2 or better card, use MBOX_INIT_RES_QUEUE_A64mjacob2002-09-231-22/+49
| | | | (preparation for DAC/A64 support)
* A SCSI_DELAY of zero is a legitimate value to have.mjacob2002-09-231-2/+4
| | | | The notion that you must "always" have a delay is at best misinformed.
* Note that the large Hitachi's are also CAM_QUIRK_HILUNSmjacob2002-09-231-0/+8
|
* Be careful not to define GCC-specific optimizations in the non-GCCmike2002-09-236-12/+66
| | | | case.
* Use the system pselect(3).mike2002-09-231-1/+1
|
* - Correct the name in the header guards.jeff2002-09-231-3/+3
| | | | Spotted by: rwatson
* The ahc driver should only have one devclass, not one for each busscottl2002-09-224-9/+10
| | | | | | | attachment. Submitted by: too many people to count MFC after: 3 days
* Fix a couple of longstanding typos which would have made ajdp2002-09-221-1/+2
| | | | | | | | statement fail to compile if it weren't inside "#ifdef __brokenalpha__". Submitted by: Birger Toedtmann <birger@takatukaland.de> MFC after: 2 weeks
* Follow the lead of recent changes in the 3com Linux driver byjdp2002-09-221-46/+3
| | | | | | | | | 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
* Set up the BCM570x chip's DMA Read/Write Control register morejdp2002-09-221-2/+10
| | | | | | | correctly. This fixes the "watchdog timeout -- resetting" errors seen on Dell 2650 systems. MFC after: 1 month
OpenPOWER on IntegriCloud