| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
error may not have been picked up right away.
Reviewed by: mdodd
Submitted by: Stuart Walsh
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
device drivers only.
|
| |
|
| |
|
|
|
|
|
|
| |
bio_offset is the field drivers should use.
bio_pblkno remains as a convenient place to store the number of
the device drivers.
|
| |
|
|
|
|
| |
Reported by: jhay
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in
the file)
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove KASSERTS and panics with B_PHYS checks which no longer apply.
|
| |
|
|
|
|
| |
Remove stale comment about B_PHYS.
|
| |
|
| |
|
|
|
|
|
| |
Remove various comments of KASSERTS and comments about B_PHYS which
does not apply anymore.
|
| |
|
|
|
|
| |
get close to DEV_STRATEGY() which is the only place it is relevant.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
DDB.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
matter how small...")
|
|
|
|
| |
to add per-node statistics
|
| |
|
| |
|
|
|
|
|
| |
o enable beacon reception when operating in adhoc mode
so the 802.11 layer can use them to create nodes for peers
|
| |
|
| |
|
|
|
|
|
| |
o use recv mgmt capability to decide if outbound frames should be
discarded if no node table entry is present
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
change to different locking strategies
|
|
|
|
| |
fixes ULE + KSE.
|