#
ec70ca9e |
| 20-Nov-2016 |
mlelstv <mlelstv@NetBSD.org> |
Make scsipi framework MPSAFE.
Data structures are now protected by a per-adapter mutex at IPL_BIO that is created by the scsibus or atapibus instance when the adapter is configured. The enable refer
Make scsipi framework MPSAFE.
Data structures are now protected by a per-adapter mutex at IPL_BIO that is created by the scsibus or atapibus instance when the adapter is configured. The enable reference counter and the channel freeze counter which are currently used by HBA code before the adapter is configured, are made atomic. The target drivers are now all tagged as D_MPSAFE.
Almost all HBA drivers still require the kernel lock to present, so all callbacks into HBA code are still protected by kernel lock unless the driver is tagged as SCSIPI_ADAPT_MPSAFE.
TODO: refactor sd and cd to use dksubr.
show more ...
|
#
85991e5b |
| 05-Aug-2016 |
maya <maya@NetBSD.org> |
uk(4) is safe to suspend, register it as such
|
#
fea98925 |
| 14-Jul-2016 |
msaitoh <msaitoh@NetBSD.org> |
- Use aprint*() instead of printf() in xxx_attach(). - Add missing aprint_naive("\n"); - KNF
|
#
1a918832 |
| 25-Jul-2014 |
dholland <dholland@NetBSD.org> |
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
#
76258fa0 |
| 16-Mar-2014 |
dholland <dholland@NetBSD.org> |
Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found
Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
show more ...
|
#
54736325 |
| 08-Feb-2012 |
mbalmer <mbalmer@NetBSD.org> |
Convert uk(4) to device_t. While here, clean up the code a bit. releng ok (ack 3, nak 0, wait no more)
|
#
93c9b125 |
| 06-Dec-2009 |
dyoung <dyoung@NetBSD.org> |
Delete do-nothing device-activation hooks.
|
#
7cf29912 |
| 12-May-2009 |
cegger <cegger@NetBSD.org> |
struct device * -> device_t, no functional changes intended.
|
#
d16a259f |
| 12-May-2009 |
cegger <cegger@NetBSD.org> |
struct cfdata * -> cfdata_t, no functional changes intended.
|
#
8c2b3a39 |
| 11-Jan-2009 |
cegger <cegger@NetBSD.org> |
make this compile
|
#
887a89aa |
| 08-Jun-2008 |
tsutsui <tsutsui@NetBSD.org> |
Use device_lookup_private() rather than using cd_devs[] directly to get softc.
XXX maybe we should change a type of cd_devs[] in struct cfdriver from (void *) to device_t.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
13783bfd |
| 05-Apr-2008 |
cegger <cegger@NetBSD.org> |
use aprint_*_dev and device_xname
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
168cd830 |
| 16-Nov-2006 |
christos <christos@NetBSD.org> |
__unused removal on arguments; approved by core.
|
#
4d595fd7 |
| 12-Oct-2006 |
christos <christos@NetBSD.org> |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
#
b231088b |
| 03-Sep-2006 |
christos <christos@NetBSD.org> |
add missing initializer
|
#
07c30f82 |
| 30-Mar-2006 |
thorpej <thorpej@NetBSD.org> |
Use device_private().
|
#
39cd836e |
| 28-Mar-2006 |
thorpej <thorpej@NetBSD.org> |
Use device_unit().
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
f31bd063 |
| 27-Feb-2005 |
perry <perry@NetBSD.org> |
nuke trailing whitespace
|
#
f323bc53 |
| 01-Feb-2005 |
reinoud <reinoud@NetBSD.org> |
Backing out changes to clean up scsipi. I was pointed out there were problems i hadn't seen. To prevent lossage i'd decided to back off all changes and let them be reviewed on tech-kern.
|
#
b220d67a |
| 31-Jan-2005 |
reinoud <reinoud@NetBSD.org> |
Part of the cleanup of sys/scsipi's use of types; rename all u_int* to uint* and change the u_long's to uint32_t's where possible. Note that the iocl definitions/hooks have to be ulong (or u_long) or
Part of the cleanup of sys/scsipi's use of types; rename all u_int* to uint* and change the u_long's to uint32_t's where possible. Note that the iocl definitions/hooks have to be ulong (or u_long) or they'll bomb out.
show more ...
|
#
4deb00f8 |
| 21-Aug-2004 |
thorpej <thorpej@NetBSD.org> |
Use ANSI function decls and make use of static.
|
#
9203f63f |
| 08-Sep-2003 |
mycroft <mycroft@NetBSD.org> |
We only need a single attachment for uk at scsibus and atapibus.
|