History log of /src/sys/dev/qbus/rf.c |
Revision | | Date | Author | Comments |
1.37 |
| 12-Aug-2021 |
andvar | fix various typos in comments.
|
1.36 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.35 |
| 24-Apr-2021 |
thorpej | branches: 1.35.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.34 |
| 29-Oct-2019 |
christos | branches: 1.34.10; Implement what the documentation in rfreg.h states, and do not apply the wrong mask to the command register (which kind of works, but really?!?!) Found by gcc -Wtautological-compare
|
1.33 |
| 08-Dec-2015 |
christos | branches: 1.33.18; Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of pointers.
|
1.32 |
| 26-Apr-2015 |
mlelstv | Use C99-style initializers for struct dkdriver.
|
1.31 |
| 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.30 |
| 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.29 |
| 04-Aug-2014 |
ryoon | branches: 1.29.4; Fix typo in comment.
|
1.28 |
| 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.27 |
| 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.26 |
| 16-Mar-2014 |
dholland | branches: 1.26.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.25 |
| 27-Oct-2012 |
chs | branches: 1.25.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.24 |
| 22-Jan-2009 |
cegger | branches: 1.24.14; 1.24.24; buildfix: re-adapt to major()/minor() return a 32bit value again.
|
1.23 |
| 13-Jan-2009 |
yamt | g/c BUFQ_FOO() macros and use bufq_foo() directly.
|
1.22 |
| 12-Jan-2009 |
cegger | use PRIu64 format to printf DISKPART
|
1.21 |
| 25-Jul-2008 |
dsl | branches: 1.21.2; Replace a 'do { ... } while (0);' with 'for (;;) { ... break; }' so that the 'continue' has the (probably) desired effect.
|
1.20 |
| 15-Mar-2008 |
jkunz | branches: 1.20.4; 1.20.6; 1.20.8; 1.20.10; Use device_* accessors.
|
1.19 |
| 11-Mar-2008 |
matt | Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
1.18 |
| 04-Jan-2008 |
joerg | branches: 1.18.2; 1.18.6; Catch up with rename of buf's b_un.b_addr -> b_data.
|
1.17 |
| 19-Oct-2007 |
ad | branches: 1.17.2; 1.17.8; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.16 |
| 08-Oct-2007 |
ad | branches: 1.16.2; Merge disk init changes from the vmlocking branch. These seperate init / destroy of 'struct disk' from attach / detach.
|
1.15 |
| 29-Jul-2007 |
ad | branches: 1.15.4; 1.15.6; 1.15.8; 1.15.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.14 |
| 08-Mar-2007 |
he | branches: 1.14.2; 1.14.6; 1.14.10; Cast to char* before doing pointer arithmetic.
|
1.13 |
| 04-Mar-2007 |
christos | Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.12 |
| 29-Mar-2006 |
thorpej | branches: 1.12.14; Use device_private().
|
1.11 |
| 25-Mar-2006 |
thorpej | Use device_parent().
|
1.10 |
| 11-Dec-2005 |
christos | branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12; merge ktrace-lwp.
|
1.9 |
| 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.8 |
| 26-Feb-2005 |
simonb | branches: 1.8.4; White space nits.
|
1.7 |
| 28-Oct-2004 |
yamt | branches: 1.7.4; 1.7.6; move buffer queue related stuffs from buf.h to their own header, bufq.h.
|
1.6 |
| 06-Oct-2004 |
wiz | Fix some typos in comments and panic()s.
|
1.5 |
| 24-Feb-2004 |
wiz | occured -> occurred. From Peter Postma.
|
1.4 |
| 13-Aug-2003 |
ragge | Improved driver with much better error handling, from Jochen Kunz (the original author of the driver).
|
1.3 |
| 14-Jul-2003 |
lukem | add missing __KERNEL_RCSID()
|
1.2 |
| 03-May-2003 |
wiz | branches: 1.2.2; DMA, not dma nor Dma.
|
1.1 |
| 23-Mar-2003 |
ragge | Driver for RX01/02 floppies, written by Jochen Kunz.
|
1.2.2.8 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.2.2.7 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.2.2.6 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.2.2.5 |
| 19-Oct-2004 |
skrll | Sync with HEAD
|
1.2.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.2.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.2.2.2 |
| 12-Aug-2004 |
skrll | Adapt to new world order.
Vax GENERIC compiles.
|
1.2.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.7.6.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.7.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.8.4.5 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.8.4.4 |
| 21-Jan-2008 |
yamt | sync with head
|
1.8.4.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.8.4.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.8.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.10.12.2 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.10.12.1 |
| 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.10.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.10.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.10.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.10.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.12.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.14.10.1 |
| 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.14.6.1 |
| 19-Mar-2007 |
reinoud | Remove direct references to buf->b_un.b_addr instead of using buf->b_data. This allows UVM- or other structures to be used eventually.
|
1.14.2.3 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.14.2.2 |
| 20-Aug-2007 |
ad | - Alter disk attach/detach to fix a panic when closing a vnd device. - Sync with HEAD.
|
1.14.2.1 |
| 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
1.15.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.15.10.1 |
| 29-Jul-2007 |
ad | file rf.c was added on branch matt-mips64 on 2007-07-29 12:15:45 +0000
|
1.15.8.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.15.6.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.15.6.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.15.6.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.15.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.16.2.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.17.8.1 |
| 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.17.2.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.18.6.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.18.6.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.18.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.18.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.20.10.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.20.8.1 |
| 28-Jul-2008 |
simonb | Sync with head.
|
1.20.6.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.20.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.21.2.2 |
| 03-Mar-2009 |
skrll | Sync with HEAD.
|
1.21.2.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.24.24.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.24.24.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.24.24.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.24.14.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.24.14.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.25.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.26.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.29.4.3 |
| 27-Dec-2015 |
skrll | Sync with HEAD (as of 26th Dec)
|
1.29.4.2 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.29.4.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.33.18.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.34.10.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.35.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|