History log of /src/sys/dev/mscp |
Revision | Date | Author | Comments |
1.8 | 22-Jun-2012 |
abs | - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed to mixing them in with the ra* disks, modelled loosely on how MSCP rx* floppies are handled - racd* defaults to the same single iso9660 partition as cd* - Cleanup config option handling slightly so any combination of ra*, rx* (and now raccd*) can be defined without build errors. - Avoid ugly printf when disks have all zero disklabel magic number
|
1.7 | 06-Jun-1999 |
ragge | branches: 1.7.2; 1.7.176; 1.7.182; Bus'ify the mscp code also.
|
1.6 | 29-May-1999 |
ragge | Copied from ../../arch/vax/mscp/files.mscp,v
|
1.5 | 21-May-1998 |
ragge | Small Wall fixes.
|
1.4 | 16-Feb-1998 |
thorpej | Remove "class" declarations, and add "devclass" declarations where appropriate. Fix several inconsistencies between device class and attributes. Mostly from Chris Demetriou.
|
1.3 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.2 | 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.7.182.1 | 04-Jul-2012 |
jdc | Pull up revisions: src/etc/etc.vax/MAKEDEV.conf revision 1.14 src/sys/arch/vax/conf/GENERIC revision 1.182 src/sys/arch/vax/conf/INSTALL revision 1.60 src/sys/arch/vax/conf/VAX780 revision 1.9 src/sys/arch/vax/conf/majors.vax revision 1.24 src/sys/arch/vax/vax/disksubr.c revision 1.53 src/sys/dev/DEVNAMES revision 1.275 src/sys/dev/mscp/files.mscp revision 1.8 src/sys/dev/mscp/mscp_disk.c revision 1.72 src/sys/dev/mscp/mscp_subr.c revision 1.42 src/distrib/vax/ramdisk/Makefile revision 1.29 (requested by abs in ticket #385).
- Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed to mixing them in with the ra* disks, modelled loosely on how MSCP rx* floppies are handled - racd* defaults to the same single iso9660 partition as cd* - Cleanup config option handling slightly so any combination of ra*, rx* (and now raccd*) can be defined without build errors. - Avoid ugly printf when disks have all zero disklabel magic number
Include racd0 and racd1 on ramdisk
|
1.7.176.1 | 30-Oct-2012 |
yamt | sync with head
|
1.7.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.39 | 11-Jan-2024 |
mrg | mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue.
this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.38 | 07-Aug-2021 |
thorpej | branches: 1.38.6; Merge thorpej-cfargs2.
|
1.37 | 24-Apr-2021 |
thorpej | branches: 1.37.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.36 | 27-Oct-2012 |
chs | branches: 1.36.54; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.35 | 10-Jul-2012 |
abs | branches: 1.35.2; Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_attach() still iterates over each unit on a bus, but mscp_dorsp() now detects if we have reached the last unit and does not return a bogus additional unit. It also loses a few gotos and handles noncontiguous unit numbers better.
|
1.34 | 12-May-2009 |
cegger | branches: 1.34.12; 1.34.18; struct device * -> device_t, no functional changes intended.
|
1.33 | 18-Apr-2009 |
tsutsui | Remove extra whitespace added by a stupid tool. XXX: more in src/sys/arch
|
1.32 | 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.31 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.30 | 19-Jan-2009 |
mjf | branches: 1.30.2; mscp(4) was being a bad monkey! It's not OK to call config_found() from interrupt context, as my vax kernel with DIAGNOSTIC told me. Instead, we defer the work and get it to run in thread context via a workqueue(9).
Thanks to matt@ for the review.
|
1.29 | 08-Apr-2008 |
cegger | branches: 1.29.4; 1.29.12; use aprint_*_dev and device_xname
|
1.28 | 04-Jan-2008 |
ad | branches: 1.28.6; B_BAD has done nothing for a long time.
|
1.27 | 19-Oct-2007 |
ad | branches: 1.27.2; 1.27.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.26 | 29-Jul-2007 |
ad | branches: 1.26.4; 1.26.6; 1.26.10; 1.26.12; It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.25 | 04-Mar-2007 |
christos | branches: 1.25.2; 1.25.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.24 | 25-Mar-2006 |
thorpej | branches: 1.24.14; Use device_parent().
|
1.23 | 11-Dec-2005 |
christos | branches: 1.23.4; 1.23.6; 1.23.8; 1.23.10; 1.23.12; merge ktrace-lwp.
|
1.22 | 27-Feb-2005 |
perry | branches: 1.22.4; nuke trailing whitespace
|
1.21 | 31-Oct-2004 |
he | branches: 1.21.4; 1.21.6; Include the <sys/bufq.h> header to allow these to compile again.
|
1.20 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.19 | 04-Feb-2003 |
matt | branches: 1.19.2; Fix wrong argument to free due to malloc_type changes. While there, spot blatant bug by inspection and fix that as well. (do not compare scaled value against unscaled value).
|
1.18 | 04-Mar-2002 |
simonb | Don't "extern int cold;" - this is in <sys/kernel.h>.
|
1.17 | 14-Jan-2002 |
tsutsui | Call malloc(9) with M_ZERO flag instead of bzero() after malloc().
|
1.16 | 13-Nov-2001 |
lukem | add RCSID
|
1.15 | 12-Apr-2001 |
thorpej | branches: 1.15.2; Upon inspection of a 4000/600 dmesg, change the splbios to splubas.
XXX THIS CODE IS SERIOUSLY BROKEN! MSCP DEVICES ARE BLOCK I/O DEVICES, AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS. The VAX port really needs to get virtualized spl*() levels.
|
1.14 | 12-Apr-2001 |
thorpej | splimp -> splbio
|
1.13 | 27-May-2000 |
thorpej | branches: 1.13.6; sleep() -> tsleep()
|
1.12 | 30-Mar-2000 |
augustss | Remove register declarations.
|
1.11 | 06-Jun-1999 |
ragge | branches: 1.11.2; 1.11.4; Bus'ify the mscp code also.
|
1.10 | 29-May-1999 |
ragge | Copied from ../../arch/vax/mscp/mscp.c,v
|
1.9 | 05-Nov-1998 |
ragge | EGCS fixes + TU81 fix.
|
1.8 | 21-May-1998 |
ragge | Small Wall fixes.
|
1.7 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.6 | 04-Jul-1997 |
ragge | Bugfix to mscp tape code; so that weof/eot works correctly.
|
1.5 | 11-Jan-1997 |
ragge | Many minor bug fixes; mscp subsystem seems to work rather stable now.
|
1.4 | 13-Oct-1996 |
christos | backout previous kprintf change
|
1.3 | 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.2 | 10-Jul-1996 |
ragge | Add support for tape drives. More extensive error checking.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.11.4.2 | 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.11.4.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.11.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.13.6.4 | 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.13.6.3 | 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.13.6.2 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.13.6.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.15.2.3 | 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.15.2.2 | 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.15.2.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.19.2.5 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.19.2.4 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.19.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.19.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.19.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.21.6.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.21.4.1 | 29-Apr-2005 |
kent | sync with -current
|
1.22.4.4 | 21-Jan-2008 |
yamt | sync with head
|
1.22.4.3 | 27-Oct-2007 |
yamt | sync with head.
|
1.22.4.2 | 03-Sep-2007 |
yamt | sync with head.
|
1.22.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.23.12.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.23.10.1 | 19-Apr-2006 |
elad | sync with head.
|
1.23.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
1.23.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
1.23.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.24.14.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.25.10.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.25.2.2 | 23-Oct-2007 |
ad | Sync with head.
|
1.25.2.1 | 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
1.26.12.2 | 29-Jul-2007 |
ad | It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.26.12.1 | 29-Jul-2007 |
ad | file mscp.c was added on branch matt-mips64 on 2007-07-29 12:15:44 +0000
|
1.26.10.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.26.6.2 | 09-Jan-2008 |
matt | sync with HEAD
|
1.26.6.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.26.4.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.27.8.1 | 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.27.2.1 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.28.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.29.12.2 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.29.12.1 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.29.4.2 | 16-May-2009 |
yamt | sync with head
|
1.29.4.1 | 04-May-2009 |
yamt | sync with head.
|
1.30.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.34.18.1 | 12-Jul-2012 |
riz | Pull up following revision(s) (requested by abs in ticket #410): sys/dev/mscp/mscp.h: revision 1.9 sys/dev/mscp/mscp.c: revision 1.35 sys/dev/mscp/mscp_subr.c: revision 1.43 Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_dorsp()
|
1.34.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.35.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.36.54.1 | 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.37.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.38.6.1 | 04-Apr-2025 |
martin | Pull up following revision(s) (requested by hans in ticket #1080):
sys/dev/mscp/mscp_disk.c: revision 1.91 sys/dev/mscp/mscp_tape.c: revision 1.44 sys/dev/mscp/mscp.c: revision 1.39 sys/dev/mscp/mscpvar.h: revision 1.19
mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue. this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.9 | 10-Jul-2012 |
abs | Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_attach() still iterates over each unit on a bus, but mscp_dorsp() now detects if we have reached the last unit and does not return a bogus additional unit. It also loses a few gotos and handles noncontiguous unit numbers better.
|
1.8 | 11-Dec-2005 |
christos | branches: 1.8.110; 1.8.116; merge ktrace-lwp.
|
1.7 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.6 | 29-May-1999 |
ragge | branches: 1.6.2; 1.6.38; Copied from ../../arch/vax/mscp/mscp.h,v
|
1.5 | 21-May-1998 |
ragge | Small Wall fixes.
|
1.4 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.3 | 04-Jul-1997 |
ragge | Bugfix to mscp tape code; so that weof/eot works correctly.
|
1.2 | 10-Jul-1996 |
ragge | Add support for tape drives. More extensive error checking.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.6.38.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.6.38.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.6.38.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.6.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.8.116.1 | 12-Jul-2012 |
riz | Pull up following revision(s) (requested by abs in ticket #410): sys/dev/mscp/mscp.h: revision 1.9 sys/dev/mscp/mscp.c: revision 1.35 sys/dev/mscp/mscp_subr.c: revision 1.43 Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_dorsp()
|
1.8.110.1 | 30-Oct-2012 |
yamt | sync with head
|
1.91 | 11-Jan-2024 |
mrg | mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue.
this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.90 | 09-Aug-2021 |
andvar | branches: 1.90.4; fix various typos in comments and messages.
|
1.89 | 29-Mar-2016 |
mlelstv | branches: 1.89.2; 1.89.8; Initialize disk_geom information, DIOCGPARTINFO relies on it.
|
1.88 | 26-Apr-2015 |
mlelstv | Use C99-style initializers for struct dkdriver.
|
1.87 | 02-Jan-2015 |
christos | We have three sets of DTYPE_ constants in the kernel: altq Drop Type disklabel Disk Type file Descriptor Type (not to mention constants that contain the string DTYPE). Let's make them two, by changing the disklabel one to be DisK TYPE since the other disklabel constants seem to do that. Not many userland programs use these constants (and the ones that they do are mostly in ifdefs). They will be fixed shortly.
|
1.86 | 31-Dec-2014 |
christos | more unused removal
|
1.85 | 31-Dec-2014 |
christos | remove unused variable
|
1.84 | 31-Dec-2014 |
christos | make more drivers use disk_ioctl, and add a dev parameter to it so that we can merge the "easy" disklabel ioctls to it. Ultimately all this will go do dk_ioctl once all the drivers have been converted.
|
1.83 | 31-Dec-2014 |
christos | Centralize wedge ioctls in disk_ioctl.
|
1.82 | 09-Nov-2014 |
mlelstv | branches: 1.82.2; support DIOCMWEDGES ioctl
|
1.81 | 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.80 | 25-Jul-2014 |
dholland | Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld, raidframe, maybe cgd) should be implemented for real.
|
1.79 | 16-Mar-2014 |
dholland | branches: 1.79.2; typo in previous
|
1.78 | 16-Mar-2014 |
dholland | 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.
|
1.77 | 25-Oct-2013 |
martin | Eliminate unused variables
|
1.76 | 27-Oct-2012 |
chs | branches: 1.76.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.75 | 11-Jul-2012 |
abs | branches: 1.75.2; - Unconditionally initialise tp to avoid a warning - Use DK_CLOSED rather than CLOSED (no functional change)
|
1.74 | 10-Jul-2012 |
abs | revert unwanted part of previous MSCP commit
|
1.73 | 10-Jul-2012 |
abs | Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_dorsp()
|
1.72 | 22-Jun-2012 |
abs | - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed to mixing them in with the ra* disks, modelled loosely on how MSCP rx* floppies are handled - racd* defaults to the same single iso9660 partition as cd* - Cleanup config option handling slightly so any combination of ra*, rx* (and now raccd*) can be defined without build errors. - Avoid ugly printf when disks have all zero disklabel magic number
|
1.71 | 12-Sep-2009 |
tsutsui | branches: 1.71.12; 1.71.18; Make this compile on ports with __HAVE_OLD_DISKLABEL (though currently no such ports which have mscp). Noticed by PR kern/41862.
|
1.70 | 12-May-2009 |
cegger | struct device * -> device_t, no functional changes intended.
|
1.69 | 12-May-2009 |
cegger | struct cfdata * -> cfdata_t, no functional changes intended.
|
1.68 | 18-Apr-2009 |
tsutsui | Remove extra whitespace added by a stupid tool. XXX: more in src/sys/arch
|
1.67 | 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.66 | 18-Mar-2009 |
cegger | bzero -> memset
|
1.65 | 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.64 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.63 | 22-Jan-2009 |
cegger | branches: 1.63.2; buildfix: re-adapt to major() return a 32bit value again.
|
1.62 | 13-Jan-2009 |
yamt | g/c BUFQ_FOO() macros and use bufq_foo() directly.
|
1.61 | 12-Jan-2009 |
cegger | use PRIu64 format to printf major() value
|
1.60 | 11-Jun-2008 |
drochner | branches: 1.60.4; use device_lookup_private() to get the softc -- while device/softc are not split yet, it is better than a typecast
|
1.59 | 08-Apr-2008 |
cegger | branches: 1.59.2; 1.59.4; 1.59.6; 1.59.8; use aprint_*_dev and device_xname
|
1.58 | 19-Oct-2007 |
ad | branches: 1.58.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.57 | 08-Oct-2007 |
ad | branches: 1.57.2; Merge disk init changes from the vmlocking branch. These seperate init / destroy of 'struct disk' from attach / detach.
|
1.56 | 29-Jul-2007 |
ad | branches: 1.56.4; 1.56.6; 1.56.8; 1.56.10; It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.55 | 21-Jul-2007 |
ad | Replace some uses of lockmgr().
|
1.54 | 04-Mar-2007 |
christos | branches: 1.54.2; 1.54.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.53 | 29-Mar-2006 |
thorpej | branches: 1.53.14; Use device_private().
|
1.52 | 29-Mar-2006 |
thorpej | Don't sleep on &rx->ra_dev.dv_unit -- sleep on &rx->ra_state instead.
|
1.51 | 28-Mar-2006 |
thorpej | Use device_unit().
|
1.50 | 25-Mar-2006 |
thorpej | Use device_parent().
|
1.49 | 11-Dec-2005 |
christos | branches: 1.49.4; 1.49.6; 1.49.8; 1.49.10; 1.49.12; merge ktrace-lwp.
|
1.48 | 15-Oct-2005 |
yamt | - change the way to specify a bufq strategy. (by string rather than by number) - rather than embedding bufq_state in driver softc, have a pointer to the former. - move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c. - rename method to strategy for consistency. - move some definitions which don't need to be exposed to the rest of kernel from sys/bufq.h to sys/bufq_impl.h. (is it better to move it to kern/ or somewhere?) - fix some obvious breakage in dev/qbus/ts.c. (not tested)
|
1.47 | 27-Feb-2005 |
perry | branches: 1.47.4; nuke trailing whitespace
|
1.46 | 04-Feb-2005 |
perry | de-__P
|
1.45 | 04-Jan-2005 |
matt | branches: 1.45.2; 1.45.4; Make sure to get the right softc in rriodone.
|
1.44 | 31-Oct-2004 |
he | Include the <sys/bufq.h> header to allow these to compile again.
|
1.43 | 25-Sep-2004 |
thorpej | Add wedges support to the MSCP disk driver.
|
1.42 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.41 | 10-May-2003 |
thorpej | branches: 1.41.2; Change bounds_check_with_label() to take a pointer to the disk structure, rather than the label itself. This paves the way for some future changes.
|
1.40 | 02-May-2003 |
dsl | Change return type of readdisklabel() to const char * I hope I've found all the correct places!
|
1.39 | 02-Apr-2003 |
he | Change SBSIZE to SBLOCKSIZE to make this compile after UFS2 was brought in. OK'ed by ragge.
|
1.38 | 01-Nov-2002 |
mrg | implement separate read/write disk statistics: - disk_unbusy() gets a new parameter to tell the IO direction. - struct disk_sysctl gets 4 new members for read/write bytes/transfers. when processing hw.diskstats, add the read&write bytes/transfers for the old combined stats to attempt to keep backwards compatibility.
unfortunately, due to multiple bugs, this will cause new kernels and old vmstat/iostat/systat programs to fail. however, the next time this is change it will not fail again.
this is just the kernel portion.
|
1.37 | 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.36 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.35 | 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.34 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.33 | 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.32 | 25-Jul-2002 |
ragge | Correct ra disk instrumentation. From Johnny Billquist.
|
1.31 | 22-Jul-2002 |
hannken | Convert to new device buffer queue interface.
Approved by: Anders Magnusson <ragge@netbsd.org>
|
1.30 | 13-Nov-2001 |
lukem | branches: 1.30.8; 1.30.10; add RCSID
|
1.29 | 12-Apr-2001 |
thorpej | branches: 1.29.2; 1.29.4; Upon inspection of a 4000/600 dmesg, change the splbios to splubas.
XXX THIS CODE IS SERIOUSLY BROKEN! MSCP DEVICES ARE BLOCK I/O DEVICES, AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS. The VAX port really needs to get virtualized spl*() levels.
|
1.28 | 12-Apr-2001 |
thorpej | splimp -> splbio
|
1.27 | 08-Jan-2001 |
fvdl | branches: 1.27.2; Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when the number of partitions is > OLDMAXPARTITIONS. This is better than silently truncating the label (don't want to silently throw away partitions when using an old disklabel binary on a label with > 8 partitions). From Enami Tsugutomo.
|
1.26 | 07-Jan-2001 |
fvdl | Adapt all disk devices in MI directories to handle ODIOC* calls for ports that have bumped MAXPARTITIONS (and thus define __HAVE_OLD_DISKLABEL).
|
1.25 | 27-May-2000 |
thorpej | branches: 1.25.4; sleep() -> tsleep()
|
1.24 | 20-May-2000 |
ragge | Remove (more) VAX dependencies.
|
1.23 | 30-Mar-2000 |
augustss | Remove register declarations.
|
1.22 | 21-Jan-2000 |
thorpej | Update for sys/buf.h/disksort_*() changes.
|
1.21 | 06-Jun-1999 |
ragge | branches: 1.21.2; 1.21.4; Bus'ify the mscp code also.
|
1.20 | 29-May-1999 |
ragge | Copied from ../../arch/vax/mscp/mscp_disk.c,v
|
1.19 | 30-Nov-1998 |
ragge | Fix disk size identifier bug.
|
1.18 | 21-May-1998 |
ragge | Small Wall fixes.
|
1.17 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.16 | 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
1.15 | 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.14 | 17-Jul-1997 |
jtk | use locator defines in "locators.h" to index cf_loc[]
|
1.13 | 24-Jun-1997 |
thorpej | foosize()'s return value is in DEV_BSIZE units; adjust the size obtained from the disklabel accordingly.
|
1.12 | 07-Jun-1997 |
ragge | Disk statistics fixes. From Johnny Billquist (bqt@update.uu.se).
|
1.11 | 07-Jun-1997 |
ragge | Create a fake disklabel if there are no one on the disk.
|
1.10 | 15-Mar-1997 |
ragge | Change the way boot device is figured out; now only using DEC numbers and done when the device get attached.
|
1.9 | 12-Feb-1997 |
ragge | ra disks is DV_DISK, not DV_DULL.
|
1.8 | 31-Jan-1997 |
thorpej | branches: 1.8.4; Pass a struct device ** down to the functions that find the boot device.
|
1.7 | 11-Jan-1997 |
ragge | branches: 1.7.2; Many minor bug fixes; mscp subsystem seems to work rather stable now.
|
1.6 | 15-Nov-1996 |
thorpej | Use bitmask_snprintf().
|
1.5 | 13-Oct-1996 |
christos | backout previous kprintf change
|
1.4 | 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.3 | 11-Jul-1996 |
ragge | Automatic changing of root device after boot now works.
|
1.2 | 10-Jul-1996 |
ragge | Add support for tape drives. More extensive error checking.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.7.2.1 | 14-Jan-1997 |
thorpej | Snapshot of work-in-progress, committed to private branch.
These changes implement machine-independent root device and file system selection. Notable features:
- All ports behave in a consistent manner regarding root device selection. - No more "options GENERIC"; all kernels have the ability to boot with RB_ASKNAME to select root device and file system type. - Root file system type can be wildcarded; a machine-independent function will try all possible file systems for the selected root device until one succeeds. - If the root file system fails to mount, the operator will be given the chance to select a new root device and file system type, rather than having the machine simply panic. - nfs_mountroot() no longer panics if any part of the NFS mount process fails; it now returns an error, giving the operator a chance to recover. - New, more consistent, config(8) grammar. The constructs:
config netbsd swap generic config netbsd root on nfs
have been replaced with:
config netbsd root on ? type ? config netbsd root on ? type nfs
Additionally, the operator may select or wildcard root file system type in the kernel configuration file:
config netbsd root on cd0a type cd9660
config(8) now requires that a "root" specification be made. "root" may be wired down or wildcarded. "swap" and "dump" specifications are optional, and follow previous semantics.
- config(8) has a new "file-system" keyword, used to configure file systems into the kernel. Eventually, this will be used to generate the default vfssw[].
- "options NFSCLIENT" is obsolete, and is replaced by "file-system NFS". "options NFSSERVER" still exists, since NFS server support is independent of the NFS file system client.
- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and will be removed; all information is now generated by config(8).
As of this commit, all ports except arm32 have been updated to use the new setroot(). Only SPARC, i386, and Alpha ports have been tested at this time. Port masters should test these changes on their ports, and report any problems back to me.
More changes are on their way, including RB_ASKNAME support in nfs_mountroot() (to prompt for server address and path) and, potentially, the ability to select rarp/bootparam or bootp in nfs_mountroot().
|
1.8.4.1 | 12-Mar-1997 |
is | Merge in changes from Trunk
|
1.21.4.3 | 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.21.4.2 | 18-Jan-2001 |
bouyer | Sync with head (for UBC+NFS fixes, mostly).
|
1.21.4.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.21.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.25.4.1 | 01-May-2001 |
he | Pull up revisions 1.26-1.27 (requested by fvdl): Increase the number of BSD disklabel partitions on i386 to 16.
|
1.27.2.6 | 11-Nov-2002 |
nathanw | Catch up to -current
|
1.27.2.5 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.27.2.4 | 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.27.2.3 | 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.27.2.2 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.27.2.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.29.4.1 | 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.29.2.3 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.29.2.2 | 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.29.2.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.30.10.1 | 10-Nov-2002 |
he | Pull up revision 1.32 (requested by ragge in ticket #547): Correct ``ra'' disk instrumentation.
|
1.30.8.3 | 29-Aug-2002 |
gehenna | catch up with -current.
|
1.30.8.2 | 08-Jun-2002 |
gehenna | fix wrong # of arguments.
|
1.30.8.1 | 16-May-2002 |
gehenna | Add the block/cdevsw device switches. Use devsw APIs instead of hard-coded major and the access to devsw table. Fix type of arguments.
|
1.41.2.11 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.41.2.10 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.41.2.9 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.41.2.8 | 04-Feb-2005 |
skrll | Adapt to branch.
|
1.41.2.7 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.41.2.6 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.41.2.5 | 19-Oct-2004 |
skrll | Sync with HEAD
|
1.41.2.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.41.2.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.41.2.2 | 12-Aug-2004 |
skrll | Adapt to new world order.
Vax GENERIC compiles.
|
1.41.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.45.4.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.45.4.1 | 12-Feb-2005 |
yamt | sync with head.
|
1.45.2.1 | 29-Apr-2005 |
kent | sync with -current
|
1.47.4.3 | 27-Oct-2007 |
yamt | sync with head.
|
1.47.4.2 | 03-Sep-2007 |
yamt | sync with head.
|
1.47.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.49.12.2 | 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.49.12.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.49.10.1 | 19-Apr-2006 |
elad | sync with head.
|
1.49.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
1.49.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
1.49.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.53.14.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.54.10.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.54.2.3 | 23-Oct-2007 |
ad | Sync with head.
|
1.54.2.2 | 20-Aug-2007 |
ad | - Alter disk attach/detach to fix a panic when closing a vnd device. - Sync with HEAD.
|
1.54.2.1 | 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
1.56.10.2 | 29-Jul-2007 |
ad | It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.56.10.1 | 29-Jul-2007 |
ad | file mscp_disk.c was added on branch matt-mips64 on 2007-07-29 12:15:44 +0000
|
1.56.8.1 | 14-Oct-2007 |
yamt | sync with head.
|
1.56.6.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.56.4.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.57.2.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.58.16.3 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.58.16.2 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.58.16.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.59.8.1 | 18-Jun-2008 |
simonb | Sync with head.
|
1.59.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.59.4.3 | 16-Sep-2009 |
yamt | sync with head
|
1.59.4.2 | 16-May-2009 |
yamt | sync with head
|
1.59.4.1 | 04-May-2009 |
yamt | sync with head.
|
1.59.2.1 | 17-Jun-2008 |
yamt | sync with head.
|
1.60.4.3 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.60.4.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.60.4.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.63.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.71.18.2 | 12-Jul-2012 |
riz | Pull up following revision(s) (requested by abs in ticket #412): sys/dev/mscp/mscp_disk.c: revision 1.75 - Unconditionally initialise tp to avoid a warning - Use DK_CLOSED rather than CLOSED (no functional change)
|
1.71.18.1 | 04-Jul-2012 |
jdc | Pull up revisions: src/etc/etc.vax/MAKEDEV.conf revision 1.14 src/sys/arch/vax/conf/GENERIC revision 1.182 src/sys/arch/vax/conf/INSTALL revision 1.60 src/sys/arch/vax/conf/VAX780 revision 1.9 src/sys/arch/vax/conf/majors.vax revision 1.24 src/sys/arch/vax/vax/disksubr.c revision 1.53 src/sys/dev/DEVNAMES revision 1.275 src/sys/dev/mscp/files.mscp revision 1.8 src/sys/dev/mscp/mscp_disk.c revision 1.72 src/sys/dev/mscp/mscp_subr.c revision 1.42 src/distrib/vax/ramdisk/Makefile revision 1.29 (requested by abs in ticket #385).
- Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed to mixing them in with the ra* disks, modelled loosely on how MSCP rx* floppies are handled - racd* defaults to the same single iso9660 partition as cd* - Cleanup config option handling slightly so any combination of ra*, rx* (and now raccd*) can be defined without build errors. - Avoid ugly printf when disks have all zero disklabel magic number
Include racd0 and racd1 on ramdisk
|
1.71.12.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.71.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.75.2.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
1.75.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.75.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.76.2.1 | 18-May-2014 |
rmind | sync with head
|
1.79.2.1 | 10-Aug-2014 |
tls | Rebase.
|
1.82.2.3 | 22-Apr-2016 |
skrll | Sync with HEAD
|
1.82.2.2 | 06-Jun-2015 |
skrll | Sync with HEAD
|
1.82.2.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
1.89.8.5 | 18-May-2017 |
pgoyette | Fix previous, make it build again.
|
1.89.8.4 | 17-May-2017 |
pgoyette | Finish previous. :(
|
1.89.8.3 | 17-May-2017 |
pgoyette | Adapt to device_lookup_acquire
|
1.89.8.2 | 14-May-2017 |
pgoyette | Rearrange the else clauses to make it work.
|
1.89.8.1 | 27-Apr-2017 |
pgoyette | Restore all work from the former pgoyette-localcount branch (which is now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some problems (cgd is non-functional and all atf tests time-out) but they will get resolved soon.
|
1.89.2.1 | 21-Jul-2016 |
pgoyette | Partial adaptation to the new {b,c}devsw locking. Still needs some work. (See XXX comments in code)
|
1.90.4.1 | 04-Apr-2025 |
martin | Pull up following revision(s) (requested by hans in ticket #1080):
sys/dev/mscp/mscp_disk.c: revision 1.91 sys/dev/mscp/mscp_tape.c: revision 1.44 sys/dev/mscp/mscp.c: revision 1.39 sys/dev/mscp/mscpvar.h: revision 1.19
mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue. this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.49 | 10-Feb-2024 |
andvar | s/indicies/indices/ in comments.
|
1.48 | 07-Apr-2022 |
andvar | fix various typos in comments.
|
1.47 | 01-Jun-2017 |
chs | remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
1.46 | 25-Oct-2013 |
martin | branches: 1.46.6; Eliminate unused variables
|
1.45 | 26-Mar-2013 |
martin | branches: 1.45.4; Fix device_t split glitch
|
1.44 | 27-Oct-2012 |
chs | split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.43 | 10-Jul-2012 |
abs | branches: 1.43.2; Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_attach() still iterates over each unit on a bus, but mscp_dorsp() now detects if we have reached the last unit and does not return a bogus additional unit. It also loses a few gotos and handles noncontiguous unit numbers better.
|
1.42 | 22-Jun-2012 |
abs | - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed to mixing them in with the ra* disks, modelled loosely on how MSCP rx* floppies are handled - racd* defaults to the same single iso9660 partition as cd* - Cleanup config option handling slightly so any combination of ra*, rx* (and now raccd*) can be defined without build errors. - Avoid ugly printf when disks have all zero disklabel magic number
|
1.41 | 12-May-2009 |
cegger | branches: 1.41.12; 1.41.18; struct device * -> device_t, no functional changes intended.
|
1.40 | 12-May-2009 |
cegger | struct cfdata * -> cfdata_t, no functional changes intended.
|
1.39 | 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.38 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.37 | 19-Jan-2009 |
mjf | branches: 1.37.2; mscp(4) was being a bad monkey! It's not OK to call config_found() from interrupt context, as my vax kernel with DIAGNOSTIC told me. Instead, we defer the work and get it to run in thread context via a workqueue(9).
Thanks to matt@ for the review.
|
1.36 | 13-Jan-2009 |
yamt | g/c BUFQ_FOO() macros and use bufq_foo() directly.
|
1.35 | 08-Apr-2008 |
cegger | branches: 1.35.4; 1.35.12; use aprint_*_dev and device_xname
|
1.34 | 19-Oct-2007 |
ad | branches: 1.34.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.33 | 29-Apr-2007 |
msaitoh | branches: 1.33.6; 1.33.8; 1.33.12; fix typos
|
1.32 | 29-Mar-2006 |
thorpej | branches: 1.32.14; 1.32.18; 1.32.20; Use device_private().
|
1.31 | 25-Mar-2006 |
thorpej | Use device_parent().
|
1.30 | 11-Dec-2005 |
christos | branches: 1.30.4; 1.30.6; 1.30.8; 1.30.10; 1.30.12; merge ktrace-lwp.
|
1.29 | 15-Oct-2005 |
yamt | - change the way to specify a bufq strategy. (by string rather than by number) - rather than embedding bufq_state in driver softc, have a pointer to the former. - move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c. - rename method to strategy for consistency. - move some definitions which don't need to be exposed to the rest of kernel from sys/bufq.h to sys/bufq_impl.h. (is it better to move it to kern/ or somewhere?) - fix some obvious breakage in dev/qbus/ts.c. (not tested)
|
1.28 | 27-Jun-2005 |
ragge | branches: 1.28.2; Fixes due to cast-qual addition.
|
1.27 | 27-Feb-2005 |
perry | nuke trailing whitespace
|
1.26 | 04-Feb-2005 |
perry | de-__P
|
1.25 | 28-Oct-2004 |
yamt | branches: 1.25.4; 1.25.6; move buffer queue related stuffs from buf.h to their own header, bufq.h.
|
1.24 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.23 | 01-Jan-2003 |
thorpej | branches: 1.23.2; Use aprint_normal() in cfprint routines.
|
1.22 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.21 | 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.20 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.19 | 22-Jul-2002 |
hannken | Convert to new device buffer queue interface.
Approved by: Anders Magnusson <ragge@netbsd.org>
|
1.18 | 13-Nov-2001 |
lukem | branches: 1.18.8; add RCSID
|
1.17 | 12-Apr-2001 |
thorpej | branches: 1.17.2; Upon inspection of a 4000/600 dmesg, change the splbios to splubas.
XXX THIS CODE IS SERIOUSLY BROKEN! MSCP DEVICES ARE BLOCK I/O DEVICES, AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS. The VAX port really needs to get virtualized spl*() levels.
|
1.16 | 12-Apr-2001 |
thorpej | splimp -> splbio
|
1.15 | 30-Mar-2000 |
augustss | branches: 1.15.6; Remove register declarations.
|
1.14 | 26-Mar-2000 |
ragge | Allow 16 fragments for MSCP DMA.
|
1.13 | 21-Jan-2000 |
thorpej | Update for sys/buf.h/disksort_*() changes.
|
1.12 | 06-Jun-1999 |
ragge | branches: 1.12.2; 1.12.4; Bus'ify the mscp code also.
|
1.11 | 29-May-1999 |
ragge | Copied from ../../arch/vax/mscp/mscp_subr.c,v
|
1.10 | 05-Nov-1998 |
ragge | EGCS fixes + TU81 fix.
|
1.9 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.8 | 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
1.7 | 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.6 | 11-Jan-1997 |
ragge | Many minor bug fixes; mscp subsystem seems to work rather stable now.
|
1.5 | 13-Oct-1996 |
christos | backout previous kprintf change
|
1.4 | 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.3 | 11-Jul-1996 |
ragge | Automatic changing of root device after boot now works.
|
1.2 | 10-Jul-1996 |
ragge | Add support for tape drives. More extensive error checking.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.12.4.2 | 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.12.4.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.12.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.15.6.5 | 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.15.6.4 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.15.6.3 | 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.15.6.2 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.15.6.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.17.2.3 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.17.2.2 | 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.17.2.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.18.8.1 | 29-Aug-2002 |
gehenna | catch up with -current.
|
1.23.2.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.23.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.23.2.5 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.23.2.4 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.23.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.23.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.23.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.25.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.25.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
1.25.4.1 | 29-Apr-2005 |
kent | sync with -current
|
1.28.2.3 | 27-Oct-2007 |
yamt | sync with head.
|
1.28.2.2 | 03-Sep-2007 |
yamt | sync with head.
|
1.28.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.30.12.2 | 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.30.12.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.30.10.1 | 19-Apr-2006 |
elad | sync with head.
|
1.30.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
1.30.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
1.30.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.32.20.1 | 11-Jul-2007 |
mjf | Sync with head.
|
1.32.18.2 | 23-Oct-2007 |
ad | Sync with head.
|
1.32.18.1 | 27-May-2007 |
ad | Sync with head.
|
1.32.14.1 | 07-May-2007 |
yamt | sync with head.
|
1.33.12.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.33.8.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.33.6.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.34.16.2 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.34.16.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.35.12.3 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.35.12.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.35.12.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.35.4.2 | 16-May-2009 |
yamt | sync with head
|
1.35.4.1 | 04-May-2009 |
yamt | sync with head.
|
1.37.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.41.18.3 | 31-Mar-2013 |
riz | Pull up following revision(s) (requested by martin in ticket #857): sys/dev/mscp/mscp_subr.c: revision 1.45 Fix device_t split glitch
|
1.41.18.2 | 12-Jul-2012 |
riz | Pull up following revision(s) (requested by abs in ticket #410): sys/dev/mscp/mscp.h: revision 1.9 sys/dev/mscp/mscp.c: revision 1.35 sys/dev/mscp/mscp_subr.c: revision 1.43 Adjust MSCP attach routines. The current code worked fine on simh-vax, but unfortunately failed on at least one 'real' SCSI MSCP adaptor. In the updated code mscp_dorsp()
|
1.41.18.1 | 04-Jul-2012 |
jdc | Pull up revisions: src/etc/etc.vax/MAKEDEV.conf revision 1.14 src/sys/arch/vax/conf/GENERIC revision 1.182 src/sys/arch/vax/conf/INSTALL revision 1.60 src/sys/arch/vax/conf/VAX780 revision 1.9 src/sys/arch/vax/conf/majors.vax revision 1.24 src/sys/arch/vax/vax/disksubr.c revision 1.53 src/sys/dev/DEVNAMES revision 1.275 src/sys/dev/mscp/files.mscp revision 1.8 src/sys/dev/mscp/mscp_disk.c revision 1.72 src/sys/dev/mscp/mscp_subr.c revision 1.42 src/distrib/vax/ramdisk/Makefile revision 1.29 (requested by abs in ticket #385).
- Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed to mixing them in with the ra* disks, modelled loosely on how MSCP rx* floppies are handled - racd* defaults to the same single iso9660 partition as cd* - Cleanup config option handling slightly so any combination of ra*, rx* (and now raccd*) can be defined without build errors. - Avoid ugly printf when disks have all zero disklabel magic number
Include racd0 and racd1 on ramdisk
|
1.41.12.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.41.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.43.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
1.43.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.43.2.2 | 23-Jun-2013 |
tls | resync from head
|
1.43.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.45.4.1 | 18-May-2014 |
rmind | sync with head
|
1.46.6.1 | 28-Aug-2017 |
skrll | Sync with HEAD
|
1.44 | 11-Jan-2024 |
mrg | mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue.
this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.43 | 25-Jul-2014 |
dholland | branches: 1.43.60; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.42 | 25-Jul-2014 |
dholland | Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld, raidframe, maybe cgd) should be implemented for real.
|
1.41 | 16-Mar-2014 |
dholland | branches: 1.41.2; 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.
|
1.40 | 25-Oct-2013 |
martin | Eliminate unused variables
|
1.39 | 27-Oct-2012 |
chs | branches: 1.39.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.38 | 12-May-2009 |
cegger | branches: 1.38.12; 1.38.22; struct device * -> device_t, no functional changes intended.
|
1.37 | 12-May-2009 |
cegger | struct cfdata * -> cfdata_t, no functional changes intended.
|
1.36 | 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.35 | 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.34 | 11-Jun-2008 |
drochner | branches: 1.34.4; 1.34.10; use device_lookup_private() to get the softc -- while device/softc are not split yet, it is better than a typecast
|
1.33 | 08-Apr-2008 |
cegger | branches: 1.33.2; 1.33.4; 1.33.6; 1.33.8; use aprint_*_dev and device_xname
|
1.32 | 19-Oct-2007 |
ad | branches: 1.32.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.31 | 29-Jul-2007 |
ad | branches: 1.31.4; 1.31.6; 1.31.10; 1.31.12; It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.30 | 04-Mar-2007 |
christos | branches: 1.30.2; 1.30.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.29 | 29-Mar-2006 |
thorpej | branches: 1.29.14; Use device_private().
|
1.28 | 25-Mar-2006 |
thorpej | Use device_parent().
|
1.27 | 07-Mar-2006 |
matt | branches: 1.27.2; 1.27.4; Don't cast lvalue. remove uninitialized reference.
|
1.26 | 11-Dec-2005 |
christos | branches: 1.26.4; 1.26.6; 1.26.8; merge ktrace-lwp.
|
1.25 | 27-Jun-2005 |
ragge | branches: 1.25.2; Fixes due to cast-qual addition.
|
1.24 | 27-Feb-2005 |
perry | nuke trailing whitespace
|
1.23 | 04-Feb-2005 |
perry | de-__P
|
1.22 | 31-Oct-2004 |
he | branches: 1.22.4; 1.22.6; Include the <sys/bufq.h> header to allow these to compile again.
|
1.21 | 23-Oct-2002 |
jdolecek | branches: 1.21.6; merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.20 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.19 | 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.18 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.17 | 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.16 | 13-Nov-2001 |
lukem | branches: 1.16.8; add RCSID
|
1.15 | 30-Mar-2000 |
augustss | branches: 1.15.6; 1.15.8; 1.15.10; Remove register declarations.
|
1.14 | 06-Jun-1999 |
ragge | branches: 1.14.2; 1.14.4; Bus'ify the mscp code also.
|
1.13 | 29-May-1999 |
ragge | Copied from ../../arch/vax/mscp/mscp_tape.c,v
|
1.12 | 09-Dec-1998 |
ragge | Fix deadlock bug. Pointed out by maximum entropy.
|
1.11 | 05-Nov-1998 |
ragge | EGCS fixes + TU81 fix.
|
1.10 | 21-May-1998 |
ragge | Small Wall fixes.
|
1.9 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.8 | 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
1.7 | 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.6 | 17-Jul-1997 |
jtk | use locator defines in "locators.h" to index cf_loc[]
|
1.5 | 04-Jul-1997 |
ragge | Bugfix to mscp tape code; so that weof/eot works correctly.
|
1.4 | 11-Jan-1997 |
ragge | Many minor bug fixes; mscp subsystem seems to work rather stable now.
|
1.3 | 13-Oct-1996 |
christos | backout previous kprintf change
|
1.2 | 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.1 | 10-Jul-1996 |
ragge | Add support for tape drives. More extensive error checking.
|
1.14.4.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.14.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.15.10.1 | 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.15.8.2 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.15.8.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.15.6.4 | 11-Nov-2002 |
nathanw | Catch up to -current
|
1.15.6.3 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.15.6.2 | 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.15.6.1 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.16.8.2 | 08-Jun-2002 |
gehenna | fix wrong # of arguments. fix typo
|
1.16.8.1 | 16-May-2002 |
gehenna | Add the block/character device switches. Fix type of arguments.
|
1.21.6.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.21.6.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.21.6.5 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.21.6.4 | 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.21.6.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.21.6.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.21.6.1 | 12-Aug-2004 |
skrll | Adapt to new world order.
Vax GENERIC compiles.
|
1.22.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.22.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
1.22.4.1 | 29-Apr-2005 |
kent | sync with -current
|
1.25.2.3 | 27-Oct-2007 |
yamt | sync with head.
|
1.25.2.2 | 03-Sep-2007 |
yamt | sync with head.
|
1.25.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.26.8.2 | 01-Apr-2006 |
yamt | sync with head.
|
1.26.8.1 | 13-Mar-2006 |
yamt | sync with head.
|
1.26.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
1.26.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.27.4.2 | 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.27.4.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.27.2.2 | 19-Apr-2006 |
elad | sync with head.
|
1.27.2.1 | 07-Mar-2006 |
elad | file mscp_tape.c was added on branch elad-kernelauth on 2006-04-19 03:25:24 +0000
|
1.29.14.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.30.10.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.30.2.2 | 23-Oct-2007 |
ad | Sync with head.
|
1.30.2.1 | 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
1.31.12.2 | 29-Jul-2007 |
ad | It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
1.31.12.1 | 29-Jul-2007 |
ad | file mscp_tape.c was added on branch matt-mips64 on 2007-07-29 12:15:44 +0000
|
1.31.10.1 | 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.31.6.1 | 06-Nov-2007 |
matt | sync with HEAD
|
1.31.4.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.32.16.2 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.32.16.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.33.8.1 | 18-Jun-2008 |
simonb | Sync with head.
|
1.33.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.33.4.2 | 16-May-2009 |
yamt | sync with head
|
1.33.4.1 | 04-May-2009 |
yamt | sync with head.
|
1.33.2.1 | 17-Jun-2008 |
yamt | sync with head.
|
1.34.10.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.34.4.1 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.38.22.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.38.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.38.12.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.38.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.39.2.1 | 18-May-2014 |
rmind | sync with head
|
1.41.2.1 | 10-Aug-2014 |
tls | Rebase.
|
1.43.60.1 | 04-Apr-2025 |
martin | Pull up following revision(s) (requested by hans in ticket #1080):
sys/dev/mscp/mscp_disk.c: revision 1.91 sys/dev/mscp/mscp_tape.c: revision 1.44 sys/dev/mscp/mscp.c: revision 1.39 sys/dev/mscp/mscpvar.h: revision 1.19
mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue. this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.7 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.6 | 27-Feb-2005 |
perry | nuke trailing whitespace
|
1.5 | 07-Aug-2003 |
agc | branches: 1.5.8; 1.5.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.4 | 29-May-1999 |
ragge | branches: 1.4.2; 1.4.38; Copied from ../../arch/vax/mscp/mscpreg.h,v
|
1.3 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.2 | 15-Mar-1997 |
ragge | Make boot compile again.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.4.38.4 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.4.38.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.4.38.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.4.38.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.4.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.5.10.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.5.8.1 | 29-Apr-2005 |
kent | sync with -current
|
1.19 | 11-Jan-2024 |
mrg | mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue.
this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|
1.18 | 27-Oct-2012 |
chs | branches: 1.18.70; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.17 | 12-May-2009 |
cegger | branches: 1.17.12; 1.17.22; struct device * -> device_t, no functional changes intended.
|
1.16 | 19-Jan-2009 |
mjf | branches: 1.16.2; mscp(4) was being a bad monkey! It's not OK to call config_found() from interrupt context, as my vax kernel with DIAGNOSTIC told me. Instead, we defer the work and get it to run in thread context via a workqueue(9).
Thanks to matt@ for the review.
|
1.15 | 04-Mar-2007 |
christos | branches: 1.15.40; 1.15.50; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.14 | 11-Dec-2005 |
christos | branches: 1.14.26; merge ktrace-lwp.
|
1.13 | 15-Oct-2005 |
yamt | - change the way to specify a bufq strategy. (by string rather than by number) - rather than embedding bufq_state in driver softc, have a pointer to the former. - move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c. - rename method to strategy for consistency. - move some definitions which don't need to be exposed to the rest of kernel from sys/bufq.h to sys/bufq_impl.h. (is it better to move it to kern/ or somewhere?) - fix some obvious breakage in dev/qbus/ts.c. (not tested)
|
1.12 | 27-Jun-2005 |
ragge | branches: 1.12.2; Fixes due to cast-qual addition.
|
1.11 | 04-Feb-2005 |
perry | de-__P
|
1.10 | 07-Aug-2003 |
agc | branches: 1.10.8; 1.10.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.9 | 22-Jul-2002 |
hannken | branches: 1.9.6; Convert to new device buffer queue interface.
Approved by: Anders Magnusson <ragge@netbsd.org>
|
1.8 | 21-Jan-2000 |
thorpej | branches: 1.8.6; 1.8.8; 1.8.20; Update for sys/buf.h/disksort_*() changes.
|
1.7 | 06-Jun-1999 |
ragge | branches: 1.7.2; 1.7.4; Bus'ify the mscp code also.
|
1.6 | 29-May-1999 |
ragge | Copied from ../../arch/vax/mscp/mscpvar.h,v
|
1.5 | 08-Feb-1998 |
ragge | Split out MSCP floppies as a separate device (rx) instead of handling them as disk drives. It is now also allowed to change floppies without the system complaining :-)
|
1.4 | 11-Jan-1997 |
ragge | Many minor bug fixes; mscp subsystem seems to work rather stable now.
|
1.3 | 11-Jul-1996 |
ragge | Automatic changing of root device after boot now works.
|
1.2 | 10-Jul-1996 |
ragge | Add support for tape drives. More extensive error checking.
|
1.1 | 01-Jul-1996 |
ragge | Totally new approach for MSCP devices; they are now handled more like SCSI. All Unibus dependencies are removed. Can support different controllers on different buses. Allows cloning of devices. TODO: Write support for MSCP tapes.
|
1.7.4.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.7.2.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.8.20.1 | 29-Aug-2002 |
gehenna | catch up with -current.
|
1.8.8.1 | 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.8.6.1 | 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.9.6.5 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.9.6.4 | 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.9.6.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.9.6.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.9.6.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.10.10.1 | 12-Feb-2005 |
yamt | sync with head.
|
1.10.8.1 | 29-Apr-2005 |
kent | sync with -current
|
1.12.2.2 | 03-Sep-2007 |
yamt | sync with head.
|
1.12.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.14.26.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.15.50.1 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.15.40.2 | 16-May-2009 |
yamt | sync with head
|
1.15.40.1 | 04-May-2009 |
yamt | sync with head.
|
1.16.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.17.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.17.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.18.70.1 | 04-Apr-2025 |
martin | Pull up following revision(s) (requested by hans in ticket #1080):
sys/dev/mscp/mscp_disk.c: revision 1.91 sys/dev/mscp/mscp_tape.c: revision 1.44 sys/dev/mscp/mscp.c: revision 1.39 sys/dev/mscp/mscpvar.h: revision 1.19
mscp(4): add ability for rronline() callback in a workqueue
when an ra(4) disk comes online the hardware interrupt ends up calling disk_set_info(), which triggers a sleep lock/alloc in this path which is triggered by LOCKDEBUG.
piggy-back on the existing workqueue for autoconfiguration to handle this path and run the online completion in the work queue. this is a little ugly, in that it puts two different types of work into the one queue, but seems less ugly than creating a second workqueue for what is likely another one-time event (infact, the other user may be better handled via config_defer() -- i did not look too closely.)
with this, LOCKDEBUG kernels work.
tested in simh.
|