History log of /src/sys/arch/macppc/dev/aed.c |
Revision | | Date | Author | Comments |
1.37 |
| 13-Jan-2025 |
riastradh | macppc/aed, akbd: Nix trailing whitespace.
No functional change intended.
|
1.36 |
| 12-Jan-2025 |
nat | Catch up macppc to the same as mac68k.
Unfortunately these files could not be tested fully as aed/akbd/ams and adb_direct have suffered from bit rot and there corresponding attachments are commented out in all macppc kernels.
|
1.35 |
| 05-Jun-2024 |
nat | Pass event up to adb device.
While here do the same for macppc.
Addresses PR/58303
|
1.34 |
| 26-Sep-2021 |
thorpej | branches: 1.34.4; Driver "kqfilter" entry points return an error code, so if an invalid filter is requested, return EINVAL rather than 1.
|
1.33 |
| 26-Sep-2021 |
thorpej | Use seltrue_filtops rather than rolling our own with filt_seltrue.
|
1.32 |
| 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.31 |
| 19-Dec-2020 |
thorpej | Use sel{record,remove}_knote().
|
1.30 |
| 25-Oct-2017 |
maya | branches: 1.30.8; 1.30.16; 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.29 |
| 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.28 |
| 16-Mar-2014 |
dholland | branches: 1.28.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.27 |
| 27-Oct-2012 |
chs | branches: 1.27.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.26 |
| 18-Jun-2011 |
matt | branches: 1.26.2; 1.26.12; struct device * -> device_t struct cfdata * -> cfdata_t use device accessors, use device_private. some softc/device_t splits (macppc needs a bunch more) aprint*_dev used considerably more
|
1.25 |
| 01-Nov-2009 |
snj | branches: 1.25.10; Drop 3rd and 4th clauses. Approved by Brad Grantham (copyright holder).
|
1.24 |
| 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.23 |
| 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.22 |
| 14-Mar-2009 |
dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
1.21 |
| 01-Mar-2008 |
rmind | branches: 1.21.4; 1.21.12; 1.21.18; 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.20 |
| 17-Oct-2007 |
garbled | branches: 1.20.12; 1.20.16; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.19 |
| 09-Jul-2007 |
ad | branches: 1.19.10; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.18 |
| 04-Mar-2007 |
christos | branches: 1.18.2; 1.18.4; 1.18.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.17 |
| 29-Mar-2006 |
thorpej | branches: 1.17.14; Use device_cfdata().
|
1.16 |
| 11-Dec-2005 |
christos | branches: 1.16.4; 1.16.6; 1.16.8; 1.16.10; 1.16.12; merge ktrace-lwp.
|
1.15 |
| 05-Jun-2005 |
nathanw | branches: 1.15.2; Don't shadow global aed_sc with local aed_sc. XXX there shouldn't be a global aed_sc in the first place; the interface among ADB devices is terrible.
|
1.14 |
| 15-Jul-2003 |
lukem | __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 |
| 29-Jun-2003 |
darrenr | 'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built
|
1.11 |
| 26-Nov-2002 |
christos | si_ -> sel_
|
1.10 |
| 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.9 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.8 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.7 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.6 |
| 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.5 |
| 23-Mar-2000 |
thorpej | branches: 1.5.6; 1.5.8; 1.5.12; 1.5.20; New callout mechanism with two major improvements over the old timeout()/untimeout() API: - Clients supply callout handle storage, thus eliminating problems of resource allocation. - Insertion and removal of callouts is constant time, important as this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
1.4 |
| 17-Feb-1999 |
tsubai | branches: 1.4.8; Sync with mac68k.
|
1.3 |
| 18-Oct-1998 |
tsubai | Add wsmouse support.
|
1.2 |
| 13-Oct-1998 |
tsubai | Fix cut-and-paste miss...
|
1.1 |
| 13-Oct-1998 |
tsubai | Split ADB driver to aed (ADB event device), akbd (ADB keyboard), and ams (ADB mouse). adb is a bus now. (from Colin Wood)
|
1.4.8.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.5.20.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.5.12.4 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.5.12.3 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.5.12.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.5.12.1 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.5.8.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.5.8.2 |
| 18-Jun-2002 |
jdolecek | make compile - use cdev_decl() and couple minor fixes
|
1.5.8.1 |
| 09-Sep-2001 |
thorpej | Add kqueue support (not yet compiled).
|
1.5.6.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.13.2.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.13.2.4 |
| 18-Nov-2004 |
skrll | Adapt to branch. macppc release builds.
|
1.13.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.13.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.13.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.15.2.3 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.15.2.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.15.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.16.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.16.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.16.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.16.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.16.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.17.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.18.10.2 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.18.10.1 |
| 02-Aug-2007 |
macallan | sync with HEAD
|
1.18.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.18.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.19.10.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.19.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.20.16.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.20.12.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.21.18.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.21.12.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.21.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.21.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.25.10.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.26.12.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.26.12.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.26.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.26.2.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.26.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.27.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.28.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.30.16.1 |
| 03-Jan-2021 |
thorpej | Sync w/ HEAD.
|
1.30.8.1 |
| 20-Jun-2024 |
martin | Pull up following revision(s) (requested by nat in ticket #1847):
sys/arch/macppc/dev/aed.c: revision 1.35 sys/arch/mac68k/dev/aed.c: revision 1.39
Pass event up to adb device.
While here do the same for macppc.
Addresses PR/58303
|
1.34.4.1 |
| 20-Jun-2024 |
martin | Pull up following revision(s) (requested by nat in ticket #708):
sys/arch/macppc/dev/aed.c: revision 1.35 sys/arch/mac68k/dev/aed.c: revision 1.39
Pass event up to adb device.
While here do the same for macppc.
Addresses PR/58303
|