History log of /src/sys/dev/qbus/qd.c |
Revision | | Date | Author | Comments |
1.63 |
| 07-Oct-2025 |
andvar | Fix few typos in comments.
|
1.62 |
| 01-Aug-2023 |
andvar | fix various typos in comments.
|
1.61 |
| 16-Apr-2022 |
andvar | fix various typos in comments and log messages.
|
1.60 |
| 12-Dec-2021 |
andvar | fix various typos in comments.
|
1.59 |
| 26-Sep-2021 |
thorpej | Change the kqueue filterops::f_isfd field to filterops::f_flags, and define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd. Field and flag name aligned with OpenBSD.
This does not constitute a functional or ABI change, as the field location and size, and the value placed in that field, are the same as the previous code, but we're bumping __NetBSD_Version__ so 3rd-party module source code can adapt, as needed.
NetBSD 9.99.89
|
1.58 |
| 18-Dec-2020 |
thorpej | Use sel{record,remove}_knote().
|
1.57 |
| 25-Oct-2017 |
maya | branches: 1.57.18; Use C99 initializer for filterops
Mostly done with spatch with touchups for indentation
@@ expression a; identifier b,c,d; identifier p; @@ const struct filterops p = - { a, b, c, d + { + .f_isfd = a, + .f_attach = b, + .f_detach = c, + .f_event = d, };
|
1.56 |
| 18-Oct-2014 |
snj | src is too big these days to tolerate superfluous apostrophes. It's "its", people!
|
1.55 |
| 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.54 |
| 16-Mar-2014 |
dholland | branches: 1.54.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.53 |
| 27-Oct-2012 |
chs | branches: 1.53.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.52 |
| 24-Apr-2011 |
rmind | branches: 1.52.4; 1.52.14; Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
1.51 |
| 13-Nov-2010 |
uebayasi | branches: 1.51.2; Don't pull in the whole uvm(9) API to access only PAGE_SIZE and some other constants. These are provided by sys/param.h now.
|
1.50 |
| 18-May-2009 |
ad | branches: 1.50.4; Don't pass a buffer to physio(), let it be allocated dynamically.
This leaves only scsipi and atapi doing the same.
|
1.49 |
| 18-Apr-2009 |
tsutsui | Remove extra whitespace added by a stupid tool. XXX: more in src/sys/arch
|
1.48 |
| 18-Mar-2009 |
cegger | bcopy -> memcpy
|
1.47 |
| 18-Mar-2009 |
cegger | Ansify function definitions w/o arguments. Generated with sed.
|
1.46 |
| 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.45 |
| 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.44 |
| 12-Jun-2008 |
cegger | branches: 1.44.4; 1.44.10; use device_lookup_private to get softc
|
1.43 |
| 11-Mar-2008 |
matt | branches: 1.43.2; 1.43.4; 1.43.6; 1.43.8; 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.42 |
| 01-Mar-2008 |
rmind | Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify() call. It will indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown, zero may be used.
Note: please pass appropriate value of 'events' where possible. Proposed on: <tech-kern>
|
1.41 |
| 05-Dec-2007 |
pooka | branches: 1.41.8; 1.41.12; Do not "return 1" from kqfilter for errors. That value is passed directly to the userland caller and results in a mysterious EPERM. Instead, return EINVAL or something else sensible depending on the case.
|
1.40 |
| 19-Nov-2007 |
ad | branches: 1.40.2; - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.39 |
| 19-Oct-2007 |
ad | branches: 1.39.2; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.38 |
| 29-Jul-2007 |
ad | branches: 1.38.4; 1.38.6; 1.38.10; 1.38.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.37 |
| 04-Mar-2007 |
christos | branches: 1.37.2; 1.37.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.36 |
| 28-Mar-2006 |
thorpej | branches: 1.36.14; Use device_unit().
|
1.35 |
| 25-Mar-2006 |
thorpej | Use device_parent().
|
1.34 |
| 11-Dec-2005 |
christos | branches: 1.34.4; 1.34.6; 1.34.8; 1.34.10; 1.34.12; merge ktrace-lwp.
|
1.33 |
| 26-Feb-2005 |
simonb | branches: 1.33.4; White space nits.
|
1.32 |
| 04-Feb-2005 |
perry | de-__P
|
1.31 |
| 07-Aug-2003 |
agc | branches: 1.31.8; 1.31.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.30 |
| 26-Nov-2002 |
christos | branches: 1.30.6; si_ -> sel_
|
1.29 |
| 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.28 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.27 |
| 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.26 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.25 |
| 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.24 |
| 17-Mar-2002 |
atatat | branches: 1.24.4; Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
|
1.23 |
| 13-Nov-2001 |
lukem | add RCSIDs
|
1.22 |
| 02-May-2001 |
scw | branches: 1.22.2; 1.22.4; Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
|
1.21 |
| 02-Nov-2000 |
eeh | branches: 1.21.2; Adapt to the new line discipline scheme.
|
1.20 |
| 28-Jun-2000 |
mrg | remove include of <vm/vm.h>
|
1.19 |
| 27-May-2000 |
thorpej | sleep() -> tsleep()
|
1.18 |
| 30-Mar-2000 |
augustss | Remove register declarations.
|
1.17 |
| 24-Jan-2000 |
matt | Revamp the VAX interrupt handling code. Make it compatible with all the other ports. Clean up some things.
|
1.16 |
| 18-Jan-2000 |
thorpej | iodone() -> biodone()
|
1.15 |
| 20-Jun-1999 |
ragge | branches: 1.15.2; 1.15.4; QDSS should now work as console. XXX - still vax-specific.
|
1.14 |
| 20-Jun-1999 |
ragge | Copied from ../../arch/vax/uba/qd.c,v
|
1.13 |
| 17-Apr-1999 |
ragge | Only allocate QDSS memory if there is a QDSS as console. QDSS should also work on KA650 now. (untested)
|
1.12 |
| 19-Jan-1999 |
ragge | Allocate (almost) all interrupt vectors dynamically. Simplifies much work when adding support for new machines and devices.
|
1.11 |
| 01-Jan-1999 |
ragge | Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change made a whole bunch of annoying bugs disappear; mostly depending on bad use of NBPG in non-MD code. The VAX port was the only port that used this historical "feature".
The CL* macros should probably go away totally, there is no reason at all to keep them.
|
1.10 |
| 29-Nov-1998 |
ragge | the btoc/ctob/btop macros must use CLBYTES, not NBPG. How this should work in the long run is an open issue; some parts must be reworked in a MI way.
|
1.9 |
| 05-Nov-1998 |
ragge | EGCS fixes.
|
1.8 |
| 04-Jul-1998 |
jonathan | defopt DDB.
|
1.7 |
| 20-Jun-1998 |
ragge | Don't try to configure QDSS console on KA650 until it's fixed.
|
1.6 |
| 13-Apr-1998 |
ragge | Wall cleaning.
|
1.5 |
| 21-Mar-1998 |
ragge | Add support for QDSS graphic console. Code originated from 4.4BSD, ported to NetBSD by Boris Gjenero <bgjenero@undergrad.math.uwaterloo.ca>
|
1.4 |
| 13-Oct-1996 |
christos | backout previous kprintf change
|
1.3 |
| 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.2 |
| 02-Sep-1996 |
mycroft | tty stop functions really should return void, not int, and certainly not both.
|
1.1 |
| 18-Aug-1996 |
jonathan | Import framebuffer drivers from 4.4-Lite2 as the root for NetBSD drivers. Only change from Lite (or lite2, qv.c and qd.c do not change) is adding NetBSD RCS ids.
|
1.15.4.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.15.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.15.2.2 |
| 01-Jul-1999 |
thorpej | Sync w/ -current.
|
1.15.2.1 |
| 20-Jun-1999 |
thorpej | file qd.c was added on branch chs-ubc2 on 1999-07-01 23:35:33 +0000
|
1.21.2.7 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.21.2.6 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.21.2.5 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.21.2.4 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.21.2.3 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.21.2.2 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.21.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.22.4.2 |
| 13-Oct-2001 |
fvdl | Revert the t_dev -> t_devvp change in struct tty. The way that tty structs are currently used (especially by console ttys) aren't ready for it, and this will require quite a few changes.
|
1.22.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.22.2.6 |
| 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.22.2.5 |
| 02-Oct-2002 |
jdolecek | use (intptr_t) rathern than (u_long) to cast kn_hook pointer to dev_t use (void *)(intptr_t) to cast dev_t to kn_hook pointer
|
1.22.2.4 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.22.2.3 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.22.2.2 |
| 12-Sep-2001 |
thorpej | More coffee for me, please. selwakeup -> selnotify
|
1.22.2.1 |
| 12-Sep-2001 |
thorpej | Add kqueue support (not compiled yet).
|
1.24.4.1 |
| 16-May-2002 |
gehenna | Add the character device switch. Replace the direct-access to devsw table with calling devsw API. Fix type of arguments.
|
1.30.6.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.30.6.4 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.30.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.30.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.30.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.31.10.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.31.10.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.31.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.33.4.5 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.33.4.4 |
| 07-Dec-2007 |
yamt | sync with head
|
1.33.4.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.33.4.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.33.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.34.12.2 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.34.12.1 |
| 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
1.34.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.34.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.34.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.34.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.36.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.37.10.1 |
| 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.37.2.2 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.37.2.1 |
| 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
1.38.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.38.12.1 |
| 29-Jul-2007 |
ad | file qd.c was added on branch matt-mips64 on 2007-07-29 12:15:45 +0000
|
1.38.10.2 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.38.10.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.38.6.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.38.6.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.38.6.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.38.4.3 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.38.4.2 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.38.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.39.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.40.2.1 |
| 08-Dec-2007 |
ad | Sync with head.
|
1.41.12.2 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.41.12.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.41.8.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.43.8.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.43.6.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.43.4.2 |
| 20-Jun-2009 |
yamt | sync with head
|
1.43.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.43.2.1 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.44.10.2 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.44.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.44.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.50.4.2 |
| 31-May-2011 |
rmind | sync with head
|
1.50.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.51.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.52.14.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.52.14.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.52.14.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.52.4.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.52.4.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.53.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.54.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.57.18.1 |
| 03-Jan-2021 |
thorpej | Sync w/ HEAD.
|