summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo. The module has the EISA front-end commented out, therefore thebms2003-10-181-1/+1
| | | | | | | error may not have been picked up right away. Reviewed by: mdodd Submitted by: Stuart Walsh
* Initialize b_iooffset before calling VOP_[SPEC]STRATEGYphk2003-10-181-0/+3
|
* Initialize b_iooffset before calling strategyphk2003-10-182-0/+2
|
* Corrections to revision 1.305alc2003-10-181-22/+36
| | | | | | | | - Specifying VM_MAP_WIRE_HOLESOK should not assume that the start address is the beginning of the map. Instead, move to the first entry after the start address. - The implementation of VM_MAP_WIRE_HOLESOK was incomplete. This caused the failure of mlockall(2) in some circumstances.
* Retire b_pblkno which was an alias for a bio field which is forphk2003-10-181-1/+0
| | | | device drivers only.
* Don't report b_pblkno, it is going away.phk2003-10-181-2/+2
|
* Do not initialize bp->b_pblkno, it is going away.phk2003-10-181-1/+0
|
* Retire bio_blkno entirely.phk2003-10-183-3/+1
| | | | | | bio_offset is the field drivers should use. bio_pblkno remains as a convenient place to store the number of the device drivers.
* Eliminate use bio_blkno.phk2003-10-184-72/+38
|
* rtfree() must be called in lock context.ume2003-10-181-0/+1
| | | | Reported by: jhay
* Discontinue bio_blkno usage.phk2003-10-182-6/+1
|
* Discontinue bio_blkno, use bio_offset instead.phk2003-10-183-40/+12
|
* Eliminate reporting of bio_blkno.phk2003-10-181-2/+2
|
* Report bio_pblkbo instead of bio_blkno.phk2003-10-181-3/+3
|
* Use bio_offset instead of bio_blknophk2003-10-183-11/+10
|
* No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.phk2003-10-181-1/+0
|
* Make bioq_disksort() sort on the bio_offset field instead of bio_pblkno.phk2003-10-182-10/+10
|
* Transition to using bus_space macros rather than the inb/outb/etc.imp2003-10-185-126/+142
| | | | | | | | | | | | Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead. I've had several people submit patches like this over the years of varying qualities, markm being the last. The names were chosen in consulation with mdodd on irc. I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT. I've not tried with my more extensive ISA, EISA and cbus collection. Reviewed by: mdodd
* DuH!phk2003-10-1820-22/+24
| | | | | bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file)
* I think rwatson got the sign wrong here...phk2003-10-181-2/+2
|
* Don't initialize unused bio_blkno field.phk2003-10-181-1/+0
|
* Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()phk2003-10-183-0/+3
|
* Initialize bp->b_offset before calling VOP_STRATEGY().phk2003-10-182-8/+1
| | | | Remove KASSERTS and panics with B_PHYS checks which no longer apply.
* Initialize bp->b_offset before calling VOP_STRATEGY()phk2003-10-181-0/+2
|
* Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY().phk2003-10-182-1/+3
| | | | Remove stale comment about B_PHYS.
* Initialize b_offset before calling VOP_SPECSTRATEGY()phk2003-10-182-0/+2
|
* Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()phk2003-10-186-0/+6
|
* Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.phk2003-10-186-3/+3
| | | | | Remove various comments of KASSERTS and comments about B_PHYS which does not apply anymore.
* Initialize bp->b_offset and remove comment about B_PHYS.phk2003-10-181-2/+3
|
* There is no need to muck about with the B_PHYS flag here. We never evenphk2003-10-181-8/+0
| | | | get close to DEV_STRATEGY() which is the only place it is relevant.
* We do not get B_PHYS buffers here anymore. /dev/drum is long gone.phk2003-10-181-24/+2
|
* Convert some if(bla) panic("foo") to KASSERTS to improve grep-ability.phk2003-10-183-8/+4
|
* Mark as __unused some arguments that are, erm, unused.markm2003-10-181-2/+5
|
* The size and contents of the DEV_STRATEGY() macro has progressed tophk2003-10-184-36/+21
| | | | | | | | | | | | | | | | the point where it being a macro is no longer sensible, and it will only be more so in days to come. BIO_STRATEGY() is now only used from DEV_STRATEGY() and should not be used directly anymore. Put the contents of both in the new function dev_strategy() and make DEV_STRATEGY() call that function. In addition, this allows us to make the rather magic bufdonebio() helper function static. This alse saves hunderedandsome bytes of code in a typical kernel.
* Rearrange the deck-chairs while we wait for scottl to GEOMify RF.phk2003-10-181-1/+1
|
* Add SBP-II target mode driver.simokawa2003-10-184-0/+1568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Though this is still incomplete and has some missing features such as exclusive login and event notification, it may be enough for someone who wants to play with it. This driver is supposed to work with firewire(4), targ(4) of CAM(4) and scsi_target(8) which can be found in /usr/share/example/scsi_target. This driver doesn't require sbp(4) which implements initiator mode. Sample configuration: Kernel: (you can use modules as well) device firewire device scbus device targ device sbp_targ After reboot: # mdconfig -a -t malloc -s 10m md0 # scsi_target 0:0:0 /dev/md0 (Assuming sbp_targ0 on scbus0) You should find the 10MB HDD on FreeBSD/MacOS X/WinXP or whatever connected to the target using FireWire. Manpage is not finished yet.
* - Call sbp_reset_start() for mgm timeout.simokawa2003-10-181-166/+316
| | | | | | | - Change type of target->luns to allocate an array of LUNs dynamically. This allows targets to change their number of LUNs after each bus reset. - Serialize ORB POINTER command for each LUN. - Improve debug messages.
* Wrap db_active check in #ifdef DDB, as db_active is not defined ifndefrwatson2003-10-181-0/+8
| | | | DDB.
* Add a new cn_flags fields to struct consdev, the low-level consolerwatson2003-10-182-6/+14
| | | | | | | | | | definition structure. Define one flag, CN_FLAG_NODEBUG, which indicates the console driver cannot be used in the context of the debugger. This may be used, for example, if the console device interacts with kernel services that cannot be used from the debugger context, such as the network stack. These drivers are skipped over for calls to cn_checkc() and cn_putc(), and the calling function simply moves on to the next available console.
* fix station mode breakage (repeat after me: "test every change, nosam2003-10-171-13/+24
| | | | matter how small...")
* add statistics for all failures and/or abnormal events; still needsam2003-10-177-39/+174
| | | | to add per-node statistics
* fixup debug msgssam2003-10-171-3/+6
|
* include FH/DS parameters element in probe response framessam2003-10-171-0/+18
|
* o consolidate rx filter calculations in one placesam2003-10-171-19/+39
| | | | | o enable beacon reception when operating in adhoc mode so the 802.11 layer can use them to create nodes for peers
* correct commentsam2003-10-171-1/+1
|
* indicate device receives all management framessam2003-10-171-2/+6
|
* o add capability to indicate if device receives all management framessam2003-10-172-6/+18
| | | | | o use recv mgmt capability to decide if outbound frames should be discarded if no node table entry is present
* Fix a couple of bugs with AIF handling:scottl2003-10-172-14/+19
| | | | | | | | | | - Correct the logic for the AIF array index pointers so that correct slot is always looked at. - Copy the full FIB payload size when copying AIF's, not just the first 64 bytes. Thanks to Mirapoint, Inc, for pointing these problems out and offering a solution.
* parameterize locking to improve portability and possiblesam2003-10-173-21/+29
| | | | change to different locking strategies
* - Remove the correct thread from the run queue in setrunqueue(). Thisjeff2003-10-171-1/+1
| | | | fixes ULE + KSE.
OpenPOWER on IntegriCloud