| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=170872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=168752
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
Notes:
svn path=/head/; revision=166901
|
|
|
|
|
|
|
|
|
| |
as the default.
Reviewed by multitudes.
Notes:
svn path=/head/; revision=163896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the CAM_NEW_TRAN_CODE that has been in the tree for some years now.
This first step consists solely of adding to or correcting
CAM_NEW_TRAN_CODE pieces in the kernel source tree such
that a both a GENERIC (at least on i386) and a LINT build
with CAM_NEW_TRAN_CODE as an option will compile correctly
and run (at least with some the h/w I have).
After a short settle time, the other pieces (making
CAM_NEW_TRAN_CODE the default and updating libcam
and camcontrol) will be brought in.
This will be an incompatible change in that the size of structures
related to XPT_PATH_INQ and XPT_{GET,SET}_TRAN_SETTINGS change
in both size and content. However, basic system operation and
basic system utilities work well enough with this change.
Reviewed by: freebsd-scsi and specific stakeholders
Notes:
svn path=/head/; revision=163816
|
|
|
|
|
|
|
| |
Noticed by: cscope
Notes:
svn path=/head/; revision=162979
|
|
|
|
| |
Notes:
svn path=/head/; revision=150392
|
|
|
|
|
|
|
|
|
|
|
| |
Provide a backwards compatible way to have the extra macro by defining
PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that
want/need to have the same driver on 5 and 6 with pccard attachments.
Approved by: re (dwhite)
Notes:
svn path=/head/; revision=147580
|
|
|
|
|
|
|
|
|
| |
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
Notes:
svn path=/head/; revision=146734
|
|
|
|
| |
Notes:
svn path=/head/; revision=145009
|
|
|
|
| |
Notes:
svn path=/head/; revision=139749
|
|
|
|
|
|
|
|
|
| |
redundant includes and fix some of the include disordering.
Submitted by: bde
Notes:
svn path=/head/; revision=129764
|
|
|
|
|
|
|
|
|
|
| |
the modules.
Also generate usbdevs.h automatically now, but a non-kernel file is
stopping that at the moment.
Notes:
svn path=/head/; revision=129740
|
|
|
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
|
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
|
|
|
|
|
|
| |
a possible uninitialized variable.
Notes:
svn path=/head/; revision=119360
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Devices below may experience a change in geometry.
* Due to a bug, aic(4) never used extended geometry. Changes all drives
>1G to now use extended translation.
* sbp(4) drives exactly 1 GB in size now no longer use extended geometry.
* umass(4) drives exactly 1 GB in size now no longer use extended geometry.
For all other controllers in this commit, this should be a no-op.
Looked over by: scottl
Notes:
svn path=/head/; revision=116351
|
|
|
|
|
|
|
|
| |
description. This allows us to rely entirely on the CIS entries if
necessary...
Notes:
svn path=/head/; revision=113315
|
|
|
|
| |
Notes:
svn path=/head/; revision=106893
|
|
|
|
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
Notes:
svn path=/head/; revision=104094
|
|
|
|
| |
Notes:
svn path=/head/; revision=92739
|
|
|
|
| |
Notes:
svn path=/head/; revision=92370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
at insert time. When asking gibbs for approval for an MFC, this was
his reply:
1) It leaks memory if it can't allocate a path.
2) It defers allocation of aic->path until the call to scan the
bus. This means the path may be NULL when an interrupt occurs
prior to the call to scan the bus (stray bus reset for instance),
which will lead to a panic.
3) The driver in current doesn't recover from the failure to allocate
aic->path. The driver doesn't check during normal operation if
the path is NULL, so again a panic will result.
4) aic_cam_rescan calls malloc with M_WAITOK. aic_cam_rescan is called
from attach where it isn't necessarily safe to sleep.
5) And most importantly, it co-opts the xpt_periph from the driver level.
This was never part of the design (xpt_periph used to be static). Making
a call of this type may completely confuse the XPT if other XPT operations
are ongoing.
In the long term, Justin and Warner agreed to implement solution where
CAM itself will initiate the bus rescan if a new bus is added. For
the time being (and in particular in light of the upcoming 4.5
release), we now have camcontrol available on the boot floppy, and can
have pccardd initiate the rescan through it.
Notes:
svn path=/head/; revision=89474
|
|
|
|
| |
Notes:
svn path=/head/; revision=86394
|
|
|
|
| |
Notes:
svn path=/head/; revision=86273
|
|
|
|
| |
Notes:
svn path=/head/; revision=78807
|
|
|
|
|
|
|
|
| |
PR: 19497, 18378
Submitted by: Martijn Plak <martijn@be3.com>
Notes:
svn path=/head/; revision=77844
|
|
|
|
| |
Notes:
svn path=/head/; revision=75054
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- enable 10MHz (fast SCSI) operation on boards that support it. (only
aic6360 boards with fast SCSI enabled can do it)
- bounds check sync periods and offsets passed in from the transport layer
- tell the user which resource allocation failed (for the ISA probe) if we
weren't able to allocate an IRQ, DRQ or I/O port.
Notes:
svn path=/head/; revision=74370
|
|
|
|
|
|
|
|
|
|
| |
I could find. I have no doubt missed a couple.
Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.
Notes:
svn path=/head/; revision=73280
|
|
|
|
|
|
|
| |
Implement auto scsi scan at insert time for the aic driver.
Notes:
svn path=/head/; revision=72931
|
|
|
|
|
|
|
| |
translate to all NULLs (as for all the ones in this commit).
Notes:
svn path=/head/; revision=71323
|
|
|
|
|
|
|
|
| |
the same config lines that NetBSD has. This builds with both NEWCARD
and GENERIC config files.
Notes:
svn path=/head/; revision=70782
|
|
|
|
|
|
|
| |
Submitted by: Michael Reifenberger
Notes:
svn path=/head/; revision=69960
|
|
|
|
| |
Notes:
svn path=/head/; revision=67164
|
|
|
|
| |
Notes:
svn path=/head/; revision=66138
|
|
|
|
| |
Notes:
svn path=/head/; revision=61835
|
|
|
|
| |
Notes:
svn path=/head/; revision=61485
|
|
|
|
|
|
|
|
|
| |
It was not discussed and should probably not happen.
Requested by: msmith and others
Notes:
svn path=/head/; revision=60938
|
|
|
|
|
|
|
|
|
|
|
| |
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Notes:
svn path=/head/; revision=60833
|
|
|
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
Notes:
svn path=/head/; revision=59391
|
|
|
|
|
|
|
|
| |
Due to some interesting cpp tricks in lockmgr, the LINT kernel shrinks
by 924 bytes.
Notes:
svn path=/head/; revision=59368
|
|
|
|
|
|
|
|
|
|
| |
- Move dev/aic/aic_isa.c entry from conf/files to conf/files.MACHINE
because PC-98 uses different file.
Submitted by: nyan and IMAI Takeshi <take-i@ceres.dti.ne.jp>
Notes:
svn path=/head/; revision=58789
|
|
|
|
|
|
|
|
|
|
| |
been so positive that I'm going to go ahead and commit this now rather
than do another round of patches.
My Adaptec 1460D works great with these changes.
Notes:
svn path=/head/; revision=55997
|
|
|
|
|
|
|
| |
change during data transfer.
Notes:
svn path=/head/; revision=54687
|
|
|
|
|
|
|
| |
causing problems to slow devices.
Notes:
svn path=/head/; revision=54136
|
|
|
|
| |
Notes:
svn path=/head/; revision=52587
|
|
|
|
|
|
|
|
|
| |
a device at lun != 0.
Enable tagged queueing (should it be spelled as queuing?) by default.
Notes:
svn path=/head/; revision=52536
|
|
|
|
| |
Notes:
svn path=/head/; revision=52427
|
|
|
|
|
|
|
| |
everything works myself.
Notes:
svn path=/head/; revision=52425
|