History log of /src/sys/dev/pci/oboe.c |
Revision | | Date | Author | Comments |
1.51 |
| 26-Sep-2021 |
thorpej | - Use seltrue_filtops rather than rolling our own with filt_seltrue. - Remove sc_wsel completely; nothing actually uses it.
|
1.50 |
| 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.49 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.48 |
| 24-Apr-2021 |
thorpej | branches: 1.48.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.47 |
| 18-Dec-2020 |
thorpej | branches: 1.47.2; Use sel{record,remove}_knote().
|
1.46 |
| 09-Dec-2018 |
jdolecek | branches: 1.46.12; use pci_intr_establish_xname() everywhere
|
1.45 |
| 25-Oct-2017 |
maya | branches: 1.45.2; 1.45.4; 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.44 |
| 20-Aug-2017 |
maxv | M_WAITOK cannot fail, so remove the test branches. Otherwise it looks like leak/uninitialized area.
|
1.43 |
| 24-Jul-2015 |
martin | Pass the device, not the struct softc to config_found(). Avoids a crash at attach time, PR port-i386/50076.
|
1.42 |
| 29-Mar-2014 |
christos | branches: 1.42.4; 1.42.6; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
1.41 |
| 20-Mar-2014 |
christos | fix format confusion
|
1.40 |
| 20-Mar-2014 |
christos | make it compile on amd64
|
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 |
| 13-Nov-2010 |
uebayasi | branches: 1.38.8; 1.38.18; 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.37 |
| 26-Nov-2009 |
njoly | branches: 1.37.4; Cleanup interrupt establish error messages. Do not mix aprint_error/aprint_normal/printf calls for a single line.
|
1.36 |
| 12-Nov-2009 |
dyoung | Remove superfluous activation hook.
|
1.35 |
| 12-May-2009 |
cegger | use device_private(). "looks good" ad@ XXX for the device_t/softc split, please check the driver that no cases have been missed.
|
1.34 |
| 06-May-2009 |
cegger | struct device * -> device_t, no functional changes intended.
|
1.33 |
| 06-May-2009 |
cegger | struct cfdata * -> cfdata_t, no functional changes intended.
|
1.32 |
| 28-Apr-2008 |
martin | branches: 1.32.14; Remove clause 3 and 4 from TNF licenses
|
1.31 |
| 10-Apr-2008 |
cegger | branches: 1.31.2; 1.31.4; use aprint_*_dev and device_xname
|
1.30 |
| 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.29 |
| 15-Dec-2007 |
perry | branches: 1.29.2; 1.29.6; __FUNCTION__ -> __func__
|
1.28 |
| 05-Dec-2007 |
pooka | branches: 1.28.4; 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.27 |
| 19-Oct-2007 |
ad | branches: 1.27.2; 1.27.4; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.26 |
| 09-Jul-2007 |
ad | branches: 1.26.6; 1.26.8; 1.26.12; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.25 |
| 04-Mar-2007 |
christos | branches: 1.25.2; 1.25.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.24 |
| 16-Nov-2006 |
christos | branches: 1.24.4; __unused removal on arguments; approved by core.
|
1.23 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.22 |
| 17-Aug-2006 |
he | branches: 1.22.2; 1.22.4; Make this build again without OBOE_DEBUG defined (get rid of warnings about unused variables).
|
1.21 |
| 17-Aug-2006 |
christos | Fix all the -D*DEBUG* code that it was rotting away and did not even compile. Mostly from Arnaud Lacombe, many thanks!
|
1.20 |
| 11-Dec-2005 |
christos | branches: 1.20.4; 1.20.8; merge ktrace-lwp.
|
1.19 |
| 28-Jun-2005 |
thorpej | branches: 1.19.2; Use ANSI function decls and static.
|
1.18 |
| 27-Feb-2005 |
perry | nuke trailing whitespace
|
1.17 |
| 28-Oct-2003 |
mycroft | branches: 1.17.8; 1.17.10; Remove unnecessary code.
|
1.16 |
| 25-Oct-2003 |
christos | Fix uninitialized variable warnings
|
1.15 |
| 21-Oct-2003 |
fvdl | And the wise man said: An u_int32_t is not a pointer, my young apprentice, so thou shalt not compare it to NULL.
|
1.14 |
| 14-Jul-2003 |
lukem | add missing __KERNEL_RCSID()
|
1.13 |
| 29-Jun-2003 |
fvdl | branches: 1.13.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.12 |
| 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
1.11 |
| 26-Nov-2002 |
christos | si_ -> sel_
|
1.10 |
| 26-Nov-2002 |
fvdl | Add a comment marking this file as broken on most non-i386 -- vtophys usage.
|
1.9 |
| 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.8 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.7 |
| 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.6 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.5 |
| 11-Dec-2001 |
augustss | branches: 1.5.2; 1.5.4; Recognized Danube chip as well. Small cleanup.
|
1.4 |
| 05-Dec-2001 |
augustss | Do SIR framing on incoming frames.
|
1.3 |
| 04-Dec-2001 |
augustss | Simplify interface to irframe.
|
1.2 |
| 02-Dec-2001 |
augustss | Touch up a little. No functional change.
|
1.1 |
| 02-Dec-2001 |
augustss | Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.
|
1.5.4.4 |
| 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.5.4.3 |
| 02-Oct-2002 |
jdolecek | do not need the (void *) cast for kn_hook anymore
|
1.5.4.2 |
| 10-Jan-2002 |
thorpej | Add kqueue support to the IrDA framework.
|
1.5.4.1 |
| 11-Dec-2001 |
thorpej | file oboe.c was added on branch kqueue on 2002-01-10 18:29:10 +0000
|
1.5.2.5 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.5.2.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.5.2.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.5.2.2 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.5.2.1 |
| 11-Dec-2001 |
nathanw | file oboe.c was added on branch nathanw_sa on 2002-01-08 00:31:08 +0000
|
1.13.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.13.2.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.13.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.13.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.13.2.2 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.13.2.1 |
| 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
1.17.10.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.17.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.19.2.7 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.19.2.6 |
| 21-Jan-2008 |
yamt | sync with head
|
1.19.2.5 |
| 07-Dec-2007 |
yamt | sync with head
|
1.19.2.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.19.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.19.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.19.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.20.8.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.20.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.22.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.22.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.22.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.24.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.25.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.25.2.2 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.25.2.1 |
| 05-Apr-2007 |
ad | Compile fixes.
|
1.26.12.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.26.8.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.26.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.26.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.26.6.2 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.26.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.27.4.2 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.27.4.1 |
| 08-Dec-2007 |
ad | Sync with head.
|
1.27.2.2 |
| 27-Dec-2007 |
mjf | Sync with HEAD.
|
1.27.2.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.28.4.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.29.6.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.29.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.29.2.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.31.4.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.31.4.2 |
| 16-May-2009 |
yamt | sync with head
|
1.31.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.31.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.32.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.37.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.38.18.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.38.18.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.38.18.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.38.8.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.8.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.39.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.42.6.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.42.6.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.42.4.1 |
| 30-Jul-2015 |
snj | Pull up following revision(s) (requested by martin in ticket #887): sys/dev/pci/oboe.c: revision 1.43 Pass the device, not the struct softc to config_found(). Avoids a crash at attach time, PR port-i386/50076.
|
1.45.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.45.2.1 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
1.46.12.1 |
| 03-Jan-2021 |
thorpej | Sync w/ HEAD.
|
1.47.2.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.48.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|