#
331722 |
|
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
|
#
330897 |
|
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
198329 |
|
21-Oct-2009 |
brueffer |
Check pointer for NULL before dereferencing it, not after.
PR: 138384 Submitted by: Patroklos Argyroudis <argp@census-labs.com> MFC after: 1 week
|
#
152919 |
|
29-Nov-2005 |
scottl |
Separate the hardware definitions into ipsreg.h so they can be used by future userland tools.
|
#
150535 |
|
25-Sep-2005 |
scottl |
Overhaul error handling in the IPS driver. Don't use a magic value for driver-induced errors, instead be better about propagating error status upwards. Add more error definitions, courtesy of the linux driver. Fix a command leak in the ioctl handler. Re-arrange some of the command handlers to localize error handling.
MFC After: 3 days
|
#
141062 |
|
30-Jan-2005 |
scottl |
Add crashdump support to the ips driver. It only works for the more modern ServeRAID 4 - 7 models right now. Support for older cards is possible, but I don't have any hardware to experiment with.
Thanks to Jack Hammer at Adaptec for providing debugging hints.
Sponsored by: ImproWare AG, Switzerland
|
#
140923 |
|
28-Jan-2005 |
scottl |
Lock the IPS driver and bring it out from under Giant. Also do some significant clean up and optimizations: - don't call bioq_disksort() on every command, the hardware will do that for us. - remove all of the complicated bio deferral code. bio's that can't be serviced immediately can just wait on the bioq. - Only reserve one command object for doing control commands to the card. This simplifies a lot of code and significantly reduces the size of the command struct. - Allocate commands out of a slab instead of embedding them into the softc. - Call the command action method directly instead of having ips_get_free_cmd() call it indirectly.
MFC After: 1 week
|
#
126364 |
|
28-Feb-2004 |
scottl |
Switch from using mutexes to using semaphores to protect against early completion of synchronous commands. Also switch to a per-array bioq as it appears to improve performance.
Submitted by: mbr, imp.ch (bioq change)
|
#
125975 |
|
18-Feb-2004 |
phk |
Change the disk(9) API in order to make device removal more robust.
Previously the "struct disk" were owned by the device driver and this gave us problems when the device disappared and the users of that device were not immediately disappearing.
Now the struct disk is allocate with a new call, disk_alloc() and owned by geom_disk and just abandonned by the device driver when disk_create() is called.
Unfortunately, this results in a ton of "s/\./->/" changes to device drivers.
Since I'm doing the sweep anyway, a couple of other API improvements have been carried out at the same time:
The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to DISKFLAG_NEEDSGIANT
A version number have been added to disk_create() so that we can detect, report and ignore binary drivers with old ABI in the future.
Manual page update to follow shortly.
|
#
120329 |
|
22-Sep-2003 |
njl |
Add an off_t cast to prevent overflow on media size. This should fix issues with geometry not matching drive size.
Submitted by: Clive Lin <clive@tongi.org>
|
#
119418 |
|
24-Aug-2003 |
obrien |
Use __FBSDID(). Also some minor style cleanups.
|
#
116931 |
|
27-Jun-2003 |
peter |
Fix pointer/int warnings so this compiles on amd64. The driver wants to store an int in the bio->bio_driver1 (a void *). It is big enough, but you have to match the int sizes first before doing the cast.
Glanced at by: scottl
|
#
114902 |
|
11-May-2003 |
scottl |
Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controller series. This driver was generously developed and released by David Jeffreys and Adaptec. I've updated it to work with 5.x and fixed a few bugs.
MFC After: 1 week
|