| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
|
| |
Submitted by: Jason Harris
PR: 107495
Approved by: re@ (blanket)
|
|
|
|
|
|
| |
Submitted by: Mark Andrews
PR: 103702
Approved by: re@ (blanket)
|
|
|
|
|
|
| |
submitted by: Toni Schmidbauer
PR: 96133
Approved by: re@ (blanket)
|
|
|
|
|
|
| |
Submitted by: Jeff Anton
PR: 108810
Approved by: re@ (blanket)
|
|
|
|
|
|
| |
Submitted by: Gipsy<wint3r@securimail.com>
PR: 108427
Approved by: re@ (blanket)
|
|
|
|
|
|
| |
Submitted by: User & <dhenin@cypries.cyclopes.org>
PR: 94439
Approved by: re (blanket)
|
|
|
|
|
|
| |
Submitted by: Arnoud Engelfriet
PR: 68412
Approved by: re (blanket)
|
|
|
|
|
|
| |
PR: 92306
Submitted by: Soren Dossing
Approved by: re (blanket)
|
|
|
|
|
|
| |
Submitted by: Ed Schouten
PR: 107101
Approved by: re (blanket for device supprot)
|
|
|
|
|
|
|
| |
now takes a device_t to be the parent of the bus that is being created.
Most SIMs have been updated with a reasonable argument, but a few exceptions
just pass NULL for now. This argument isn't used yet and the newbus
integration likely won't be ready until after 7.0-RELEASE.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysctl_handle_int is not sizeof the int type you want to export.
The type must always be an int or an unsigned int.
Remove the instances where a sizeof(variable) is passed to stop
people accidently cut and pasting these examples.
In a few places this was sysctl_handle_int was being used on 64 bit
types, which would truncate the value to be exported. In these
cases use sysctl_handle_quad to export them and change the format
to Q so that sysctl(1) can still print them.
|
|
|
|
| |
in detail the procedure for getting device quirks into the CAM subsystem.
|
|
|
|
| |
actual formal process he's trying to get established for quirks..
|
|
|
|
|
| |
Submitted by: Joakim Bentholm`
MFC after: 3 days
|
|
|
|
| |
Submitted by: Cyril Nguyen Huu <cyril ci0 org>
|
|
|
|
|
|
|
| |
tell if there has been data returned (for some broken
residual checking points).
MFC after: 3 days
|
|
|
|
| |
ioctl. This should make SIM removal a bit more robust.
|
|
|
|
| |
difficult.
|
|
|
|
| |
eliminating a lot of duplicated code, this also fixes a locking edge case.
|
| |
|
|
|
|
| |
panics on boot.
|
| |
|
| |
|
|
|
|
| |
CAM_SIM_LOCK() more uniformly.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
little bit and allows for direct dispatch of the doneq from certain
contexts that would otherwise face recursive locking problems.
|
| |
|
|
|
|
| |
couple of associated error checks.
|
|
|
|
| |
Submitted by: jmg
|
|
|
|
|
| |
and device lists instead of decoupling the whole operation. This avoids
problems with SIMs going away.
|
|
|
|
| |
vectors.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
use to synchornize and protect all data objects that are used for that
SIM. Drivers that are not yet MPSAFE register Giant and operate as
usual. RIght now, no drivers are MPSAFE, though a few will be changed
in the coming week as this work settles down.
The driver API has changed, so all CAM drivers will need to be recompiled.
The userland API has not changed, so tools like camcontrol do not need to
be recompiled.
|
|
|
|
|
| |
accident. Remove the text describing the problem as it is no longer
relevant. Also give real implementations for the GET and SET ioctls.
|
| |
|
|
|
|
| |
testing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux SCSI SG passthrough device API. The intention is to allow for both
running of Linux apps that want to talk to /dev/sg* nodes, and to facilitate
porting of apps from Linux to FreeBSD. As such, both native and linuxolator
entry points and definitions are provided.
Caveats:
- This does not support the procfs and sysfs nodes that the Linux SG
driver provides. Some Linux apps may rely on these for operation,
others may only use them for informational purposes.
- More ioctls need to be implemented.
- Linux uses a naming scheme of "sg[a-z]" for devices, while FreeBSD uses a
scheme of "sg[0-9]". Devfs aliasis (symlinks) are automatically created
to link the two together. However, tools like camcontrol only see the
native names.
- Some operations were originally designed to return byte counts or other
data directly as the syscall return value. The linuxolator doesn't appear
to support this well, so this driver just punts for these cases.
Now that the driver is in place, others are welcome to add missing
functionality. Thanks to Roman Divacky for pushing this work along.
|
|
|
|
| |
cam_periph_acquire.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rescan requests. The purpose of this is to allow a SIM
(or other entities) to request a bus rescan and have it
then fielded in a different (process) context from the
caller.
There are probably better ways to accomplish this, but
it's a very small change that helps solve a number of
problems.
Reviewed by: Justin, Ken and Scott.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
flash card reader.
Also remove an 'Opened da0 -> <random number>' which is not needed on a daily
basis (available through bootverbose).
Reviewed by: phk, ken
MFC after: 1 week
|
|
|
|
| |
cache commands, per request from njl@.
|