summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* use ND_IFINFO().ume2003-10-171-0/+4
|
* nuke duplicate function and unused function.ume2003-10-173-45/+5
| | | | Obtained from: KAME
* revert wrongly dropped null check by previous commit.ume2003-10-171-0/+2
|
* - add dom_if{attach,detach} framework.ume2003-10-1721-297/+313
| | | | | | - transition to use ifp->if_afdata. Obtained from: KAME
* When expunging unlinked files from a snapshot, skip over holes in themckusick2003-10-171-6/+16
| | | | | | file rather than panicing with "indiracct: botched params". Submitted by: Mark Santcroos <marks@ripe.net>
* Simplify count_dev()phk2003-10-171-5/+5
|
* - Synchronize access to a vm page's valid field using the containingalc2003-10-171-14/+19
| | | | | vm object's lock. - Release the vm object and vm page queues locks around vput().
* Halt the cpu on amd64 as well. For some strange reason, this makespeter2003-10-171-1/+1
| | | | | | a fair bit of difference to the power consumption and lets my cpu cool down enough for the temperature sensitive fan controller to completely stop the cpu fan at times.
* Implement cpu_idle() on ia64. We put the processor in a lightweightmarcel2003-10-172-2/+10
| | | | | | halt state that minimizes power consumption while still preserving cache and TLB coherency. Halting the processor is not conditional at this time. Tested with UP and SMP kernels.
* - The kse may be null in sched_pctcpu().jeff2003-10-161-1/+7
| | | | Reported by: kris
* - Only kse_reassign() in the !running case.jeff2003-10-161-8/+10
| | | | Reported by: kris
OpenPOWER on IntegriCloud