History log of /netbsd-src/sys/arch/amiga/dev/mfc.c (Results 1 – 25 of 62)
Revision Date Author Comments
# 5b28f239 08-Sep-2024 rillig <rillig@NetBSD.org>

fix a/an grammar in obvious cases


# 46239484 26-Oct-2022 riastradh <riastradh@NetBSD.org>

amiga/mfc(4): Convert to ttylock/ttyunlock.


# 6f8dc150 21-Oct-2021 andvar <andvar@NetBSD.org>

fix various typos, mainly in comments, but also in man pages and log messages.


# c7fb772b 07-Aug-2021 thorpej <thorpej@NetBSD.org>

Merge thorpej-cfargs2.


# 2685996b 24-Apr-2021 thorpej <thorpej@NetBSD.org>

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 a

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?).

show more ...


# 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 ...


# 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.


# 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.


# 62cf489d 26-Oct-2009 cegger <cegger@NetBSD.org>

kill extra whitespaces
reviewed by tsutsui@


# 42b74af3 19-May-2009 phx <phx@NetBSD.org>

Removed old Amiga-specific "sicallback" software interrupts and replaced
them by MI softints. Approved by "is".


# e2cb8590 18-Mar-2009 cegger <cegger@NetBSD.org>

bcopy -> memcpy


# 937f5cd4 11-Jun-2008 tsutsui <tsutsui@NetBSD.org>

Use device_private() and device_lookup_private() to get softc.


# 5e4b3243 25-May-2008 ad <ad@NetBSD.org>

Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.


# 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.


# d3793569 07-Nov-2007 ad <ad@NetBSD.org>

Merge tty changes from the vmlocking branch.


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

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


# 142c2a33 24-Jan-2007 hubertf <hubertf@NetBSD.org>

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effe

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

show more ...


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

More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.


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

Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!

Also, add forgotten splx() calls in some places.


# 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.


# 21374641 26-Mar-2006 thorpej <thorpej@NetBSD.org>

Use device_unit().


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

merge ktrace-lwp.


123