Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sparc64/dev/pcons.c
RevisionDateAuthorComments
 1.34  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.33  16-Mar-2014  dholland branches: 1.33.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.32  15-Sep-2013  martin Remove an unused variable
 1.31  03-Jun-2011  christos branches: 1.31.2; 1.31.12; 1.31.16;
CFATTACH_DECL_NEW
 1.30  24-Apr-2011  rmind branches: 1.30.2;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.29  13-Jun-2008  cegger branches: 1.29.18; 1.29.24;
use device_lookup_private to get softc
 1.28  19-Nov-2007  ad branches: 1.28.14; 1.28.16; 1.28.18; 1.28.20; 1.28.22;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.27  18-Oct-2007  joerg branches: 1.27.2;
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
 1.26  17-Oct-2007  garbled 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.25  09-Jul-2007  ad branches: 1.25.8; 1.25.10; 1.25.14;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.24  04-Mar-2007  christos branches: 1.24.2; 1.24.4; 1.24.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.23  01-Oct-2006  elad branches: 1.23.4;
Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.22  23-Jul-2006  ad branches: 1.22.4; 1.22.6;
Use the LWP cached credentials where sane.
 1.21  14-May-2006  elad integrate kauth.
 1.20  13-Feb-2006  cdi branches: 1.20.2; 1.20.4; 1.20.6;
ANSIfy: u_intN_t -> uintN_t, remove __P(), fix function definitions.
 1.19  11-Dec-2005  christos branches: 1.19.2; 1.19.4; 1.19.6;
merge ktrace-lwp.
 1.18  21-Mar-2004  pk branches: 1.18.16;
Use the promlib I/O routines.
 1.17  15-Jul-2003  lukem __KERNEL_RCSID()
 1.16  29-Jun-2003  fvdl branches: 1.16.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.15  29-Jun-2003  martin Passing struct lwp * instead of struct proc * to device functions.
 1.14  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.13  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.12  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.11  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.10  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.9  17-Mar-2002  atatat branches: 1.9.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.8  05-Oct-2001  eeh branches: 1.8.4;
Remove bsd_openprom.h, which is only for compatibility with the sparc port.
 1.7  02-May-2001  scw branches: 1.7.2; 1.7.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.6  10-Nov-2000  eeh branches: 1.6.2; 1.6.4;
Remove unnecessary header file that causes linker issues.
 1.5  08-Nov-2000  eeh Use new MI console magic framework.
 1.4  02-Nov-2000  eeh Adapt to the new line discipline scheme.
 1.3  10-Jul-2000  eeh Break into debugger by typing `+++++',
 1.2  24-Jun-2000  eeh Remove a couple of references to vaddrs.h that slipped through.
 1.1  20-May-2000  eeh branches: 1.1.4;
Oops. Seems like we do need this file to make pcons work.
 1.1.4.1  18-Jul-2000  mrg pullup the contents of -current arch/sparc64. this gives us significant
ultrasparc PCI support (ultra5, ultra10, AXi, and E250 tested so far),
plus many other small fixes. netbooting is now supported.
 1.6.4.1  21-Jun-2001  nathanw Catch up to -current.
 1.6.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.6.2.2  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.6.2.1  10-Nov-2000  bouyer file pcons.c was added on branch thorpej_scsipi on 2000-11-20 20:26:44 +0000
 1.7.4.3  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.7.4.2  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.7.4.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.7.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.7.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.4.5  11-Nov-2002  nathanw Catch up to -current
 1.8.4.4  18-Oct-2002  nathanw Catch up to -current.
 1.8.4.3  17-Sep-2002  nathanw Catch up to -current.
 1.8.4.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.8.4.1  05-Oct-2001  nathanw file pcons.c was added on branch nathanw_sa on 2002-04-01 07:43:04 +0000
 1.9.4.1  17-May-2002  gehenna Add device switch.
 1.16.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.16.2.2  26-Aug-2004  skrll Adapt to branch.

sparc64 GENERIC compiles.
 1.16.2.1  03-Aug-2004  skrll Sync with HEAD
 1.18.16.5  07-Dec-2007  yamt sync with head
 1.18.16.4  27-Oct-2007  yamt sync with head.
 1.18.16.3  03-Sep-2007  yamt sync with head.
 1.18.16.2  30-Dec-2006  yamt sync with head.
 1.18.16.1  21-Jun-2006  yamt sync with head.
 1.19.6.2  01-Jun-2006  kardel Sync with head.
 1.19.6.1  22-Apr-2006  simonb Sync with head.
 1.19.4.1  09-Sep-2006  rpaulo sync with head
 1.19.2.1  18-Feb-2006  yamt sync with head.
 1.20.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.20.4.3  12-May-2006  elad adapt to kauth kpi, include sys/kauth.h where needed..
 1.20.4.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.20.4.1  08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.20.2.2  11-Aug-2006  yamt sync with head
 1.20.2.1  24-May-2006  yamt sync with head.
 1.22.6.1  22-Oct-2006  yamt sync with head
 1.22.4.1  18-Nov-2006  ad Sync with head.
 1.23.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.24.10.1  03-Oct-2007  garbled Sync with HEAD
 1.24.4.1  11-Jul-2007  mjf Sync with head.
 1.24.2.3  03-Dec-2007  ad Sync with HEAD.
 1.24.2.2  23-Oct-2007  ad Sync with head.
 1.24.2.1  15-Jul-2007  ad Sync with head.
 1.25.14.2  21-Nov-2007  bouyer Sync with HEAD
 1.25.14.1  25-Oct-2007  bouyer Sync with HEAD.
 1.25.10.2  09-Jan-2008  matt sync with HEAD
 1.25.10.1  06-Nov-2007  matt sync with HEAD
 1.25.8.2  21-Nov-2007  joerg Sync with HEAD.
 1.25.8.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.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.28.22.1  18-Jun-2008  simonb Sync with head.
 1.28.20.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.28.18.1  04-May-2009  yamt sync with head.
 1.28.16.1  17-Jun-2008  yamt sync with head.
 1.28.14.1  29-Jun-2008  mjf Sync with HEAD.
 1.29.24.1  06-Jun-2011  jruoho Sync with HEAD.
 1.29.18.2  12-Jun-2011  rmind sync with head
 1.29.18.1  31-May-2011  rmind sync with head
 1.30.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.31.16.1  18-May-2014  rmind sync with head
 1.31.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.31.2.1  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.33.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed