summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Move the com_emr register definition to sioreg.h.nyan2002-09-243-8/+1
|
* Merged from sys/dev/sio/sio.c revision 1.379.nyan2002-09-242-2/+0
|
* MFi386: revisions 1.536 and 1.538.nyan2002-09-242-12/+8
|
* MFi386: revision 1.419nyan2002-09-241-0/+1
|
* Fixed to build after removing a.out suppot.nyan2002-09-241-6/+6
|
* Add an NBBY define to eventually replace the one in <sys/types.h>.mike2002-09-231-0/+1
|
* Ok, make this compile for real this time. recvfrom_args doesn't have ajhb2002-09-231-1/+1
| | | | | fromlen member, instead it has a fromlenaddr pointer member. Set it to NULL.
* Use correct variable name so that previous commit actually compiles.jhb2002-09-231-2/+2
|
* Parameterize MPT_MAX_REQUESTS based upon device type (FC has Global Creditsmjacob2002-09-234-82/+99
| | | | | | | | of 1024- Ultra4 256). Rename 'requests' tag to 'request_pool' for clarity. Make sure we do correct xpt_freeze_simq/CAM_RELEASE_SIMQ if we run out of chip resources. MFC after: 6 days
* use __packed.alfred2002-09-2338-361/+361
|
* Now that we only probe host-PCI bridges once, we no longer have to check tojhb2002-09-233-32/+0
| | | | see if we have been probed before by checking for a pciX bus device.
* Put verbose printf's in the PCI BIOS interrupt routing code underjhb2002-09-233-3/+12
| | | | if (bootverbose).
* o Move select() helper macros from <sys/types.h> to <sys/select.h>.mike2002-09-232-31/+54
| | | | | | | | | | o Include <sys/select.h> from <sys/types.h> in the __BSD_VISIBLE case, so applications and base software can be slowly updated. o Prototype select() in <sys/select.h>. It was previously only prototyped in <unistd.h>. o Add some XXX's to <sys/types.h>. Reviewed by: -standards
* Update the nexus driver for the addition of the legacy driver:jhb2002-09-233-183/+16
| | | | | | | | | - nexus no longer has PCI bridges as direct children, so the PCI bus ivar is no longer used and is removed. - Don't attach default EISA, ISA, or MCA busses. Instead, if we do not have an acpi0 device after bus_generic_probe(), add a legacy0 child device. - Remove machine/nexusvar.h.
* Hang apm off of the legacy device instead of the nexus.jhb2002-09-232-2/+2
|
* Change the nexus_pcib driver (eventually to be renamed to legacy_pcib) tojhb2002-09-232-14/+14
| | | | hang off of the legacy driver instead of the nexus.
* Add a new legacy(4) device driver for use on machines that do not havejhb2002-09-235-922/+225
| | | | | | | | ACPI or for when ACPI support is disabled or not present in the kernel. Basically, the nexus device is now split into two with some parts (such as adding default ISA, MCA, and EISA busses if they aren't found as well as support for PCI bus device ivars) being moved to the legacy driver.
* 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
|
* 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
|
* 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.
* 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
* 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.
OpenPOWER on IntegriCloud