History log of /netbsd/sys/arch/mac68k/dev/ncr5380.c (Results 1 – 25 of 71)
Revision Date Author Comments
# 778f5600 07-Apr-2022 andvar <andvar@NetBSD.org>

fix various typos in comments.


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

Merge thorpej-cfargs2.


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


# 77342422 29-Sep-2020 msaitoh <msaitoh@NetBSD.org>

s/implicitely/implicitly/


# 7d1220ac 18-Oct-2014 snj <snj@NetBSD.org>

src is too big these days to tolerate superfluous apostrophes. It's
"its", people!


# ee8e2b53 25-Oct-2013 martin <martin@NetBSD.org>

Simplify


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


# ccaf1e96 28-Feb-2010 snj <snj@NetBSD.org>

Fight the ever-increasing size of src checkouts by spelling "useful"
without an extra l.


# 49883887 20-Oct-2009 snj <snj@NetBSD.org>

Remove 3rd and 4th clause on Leo Weppelman's license. OK leo@.


# 1ad8067c 25-Feb-2006 wiz <wiz@NetBSD.org>

Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.


# 50a256a3 24-Dec-2005 perry <perry@NetBSD.org>

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile


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

merge ktrace-lwp.


# 016a9285 16-Jun-2005 jmc <jmc@NetBSD.org>

Shadowing and const fixes.


# df9803ce 21-Feb-2005 thorpej <thorpej@NetBSD.org>

Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names

Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes. Place items described
by the SCSI Primary Commands document into scsi_spc.h.

show more ...


# 7acd68b1 15-Jan-2005 chs <chs@NetBSD.org>

de-__P, remove register, ansify, b* -> mem*.


# a974bfe8 07-Dec-2004 thorpej <thorpej@NetBSD.org>

- Use the cmdlen specified in the scsipi_xfer structure. Keying off
the command group ID won't necessarily work for vendor-specific commands.
- Expand the storage in the SC_REQ structure to accoun

- Use the cmdlen specified in the scsipi_xfer structure. Keying off
the command group ID won't necessarily work for vendor-specific commands.
- Expand the storage in the SC_REQ structure to account for 16-byte commands.

show more ...


# fbcc3c4d 30-Oct-2003 matt <matt@NetBSD.org>

Fix real uninitialized variable bug.


# b569a452 30-Oct-2003 matt <matt@NetBSD.org>

Fix indentation/whitespace.


# 4b2744bf 15-Jul-2003 lukem <lukem@NetBSD.org>

__KERNEL_RCSID()


# 1ffa7b76 03-May-2003 wiz <wiz@NetBSD.org>

DMA, not dma nor Dma.


# d57736a7 02-Apr-2003 thorpej <thorpej@NetBSD.org>

Use PAGE_SIZE rather than NBPG.


# 666aa24c 02-Oct-2002 thorpej <thorpej@NetBSD.org>

Use CFATTACH_DECL().


# f818766a 27-Sep-2002 thorpej <thorpej@NetBSD.org>

Declare all cfattach structures const.


# 0f09ed48 27-Sep-2002 provos <provos@NetBSD.org>

remove trailing \n in panic(). approved perry.


# 937a7a3e 25-Apr-2001 bouyer <bouyer@NetBSD.org>

Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers a

Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge

show more ...


123