History log of /netbsd-src/sys/arch/sparc/dev/kd.c (Results 1 – 25 of 54)
Revision Date Author Comments
# f9228f42 25-Jul-2014 dholland <dholland@NetBSD.org>

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.


# a68f9396 16-Mar-2014 dholland <dholland@NetBSD.org>

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

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.

show more ...


# fa33d35f 19-Oct-2013 mrg <mrg@NetBSD.org>

- remove unused but set variables.
- use __USE() where necessary.
- remove useless 'volatile' markers

kd.c:consinit() might be wrong for old proms, but i've not
changed it really.


# cbab9cad 27-Oct-2012 chs <chs@NetBSD.org>

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.


# 4362d3ed 30-Jul-2012 christos <christos@NetBSD.org>

move cn_tab initializationt to cpu_startup


# 2626d576 24-Apr-2011 rmind <rmind@NetBSD.org>

Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# dc26833b 19-Nov-2007 ad <ad@NetBSD.org>

- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.


# d238692c 18-Oct-2007 joerg <joerg@NetBSD.org>

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

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.

show more ...


# d974db0a 17-Oct-2007 garbled <garbled@NetBSD.org>

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 v

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.

show more ...


# 88ab7da9 09-Jul-2007 ad <ad@NetBSD.org>

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements


# 53524e44 04-Mar-2007 christos <christos@NetBSD.org>

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.


# 36bb413e 16-Feb-2007 ad <ad@NetBSD.org>

More spllowersoftclock() fallout.


# e8373398 01-Oct-2006 elad <elad@NetBSD.org>

Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!


# f474dceb 23-Jul-2006 ad <ad@NetBSD.org>

Use the LWP cached credentials where sane.


# 8ccb6c93 14-May-2006 elad <elad@NetBSD.org>

integrate kauth.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 1cb1ba5f 16-Nov-2005 uwe <uwe@NetBSD.org>

Drop trailing whitespace.


# 0ec5f35b 14-Nov-2005 uwe <uwe@NetBSD.org>

ANSIify. Same code is generated.
While here, collect in one place prototypes that were scattered
throughout the file, apply static to prom_cn* consistently.


# aece7a90 06-Sep-2005 kleink <kleink@NetBSD.org>

Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/3112

Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.

show more ...


# 754d7940 30-Jun-2005 macallan <macallan@NetBSD.org>

Allow sparc64-style attachment of mouse and keyboard via zstty, needed for
wscons support.
Reviewed by uwe.


# 32c7c3a6 03-Jun-2005 martin <martin@NetBSD.org>

Sprinkle some const


# ea53363e 17-Mar-2004 pk <pk@NetBSD.org>

Rename PROM_getprop*() => prom_getprop*().


# 9166dfe5 16-Mar-2004 pk <pk@NetBSD.org>

Use prom_getoption() and drop home-grown string-to-integer conversion code.


# 3a942f10 27-Aug-2003 uwe <uwe@NetBSD.org>

cc_callout does not belong to struct cons_channel, as it's only used
by sparc for PROM console input channel. Demote it to kd.c as a
static variable.

While there, use callout_schedule instead of ca

cc_callout does not belong to struct cons_channel, as it's only used
by sparc for PROM console input channel. Demote it to kd.c as a
static variable.

While there, use callout_schedule instead of callout_reset to
reschedule the PROM polling callout, and init prom_cons_channel
statically.

show more ...


123