#
deeec4a8 |
| 24-Dec-2022 |
andvar <andvar@NetBSD.org> |
s/reqest/request/, s/requst/request/ and s/reuqest/request/ in comments.
|
#
8402ad45 |
| 04-May-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments and log messages.
|
#
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 ...
|
#
d4c6431f |
| 01-Dec-2015 |
martin <martin@NetBSD.org> |
Remove some diagnostic/debug messages.
|
#
61957e3e |
| 04-Oct-2015 |
joerg <joerg@NetBSD.org> |
Drop unused (inline) function.
|
#
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.
|
#
44f2ff68 |
| 26-Jul-2011 |
dyoung <dyoung@NetBSD.org> |
Don't set the iobase and iosize members of pcmciabus_attach_args because they're not used in any meaningful way.
|
#
97edfeac |
| 18-Jul-2011 |
mrg <mrg@NetBSD.org> |
convert the remaining dev/sbus drivers to CFATTACH_DECL_NEW, cfdata_t and device_t, including the pci frontend and backend for en(4).
|
#
579b9cbd |
| 19-Sep-2009 |
tsutsui <tsutsui@NetBSD.org> |
u_intNN_t -> uintNN_t
|
#
f3504c80 |
| 18-Sep-2009 |
tsutsui <tsutsui@NetBSD.org> |
- use device_private(), proper types and variables for device_t/softc - remove unnecessary casts against void pointer
XXX: many inconsistent use of aprint_*(9) and printf(9)
|
#
12ad76b1 |
| 17-Sep-2009 |
tsutsui <tsutsui@NetBSD.org> |
Remove struct sbusdev and related functions sbus_establish() and sbusreset(). They are derived from 4.4BSD/sparc and have been there since initial import of NetBSD/sparc in 1993, but the struct sbusd
Remove struct sbusdev and related functions sbus_establish() and sbusreset(). They are derived from 4.4BSD/sparc and have been there since initial import of NetBSD/sparc in 1993, but the struct sbusdev is almost unused for years, nothing calls sbusreset(), and all (*sd->sd_reset)() functions look bogus.
Suggested by mrg@ and martin@, and tested on SS1+ and SS20.
show more ...
|
#
7cf29912 |
| 12-May-2009 |
cegger <cegger@NetBSD.org> |
struct device * -> device_t, no functional changes intended.
|
#
d16a259f |
| 12-May-2009 |
cegger <cegger@NetBSD.org> |
struct cfdata * -> cfdata_t, no functional changes intended.
|
#
7cc9af7d |
| 16-Mar-2009 |
dsl <dsl@NetBSD.org> |
ANSIfy functions with function-pointer arguments
|
#
82357f6d |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
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.
|
#
454af1c0 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
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
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.)
show more ...
|
#
9a5d3f28 |
| 16-Dec-2008 |
christos <christos@NetBSD.org> |
replace bitmask_snprintf(9) with snprintb(3)
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
4c5fa20d |
| 05-Apr-2008 |
cegger <cegger@NetBSD.org> |
use aprint_*_dev and device_xname
|
#
258a4b78 |
| 06-Jan-2008 |
martin <martin@NetBSD.org> |
With the new IPL world, things are easier for us: if we can get the nell hardware interrupt handler run at IPL_VM, we can call the socket drivers interrupt handler directly. This is always possible o
With the new IPL world, things are easier for us: if we can get the nell hardware interrupt handler run at IPL_VM, we can call the socket drivers interrupt handler directly. This is always possible on sparc64, but on sparc we might have to fall back to the old softint bounce. Since this uses arbitrary IPLs, we can not use the new softint_* for this - we'll have to use the old sparc_softintr_* functions.
show more ...
|
#
a2a38285 |
| 19-Oct-2007 |
ad <ad@NetBSD.org> |
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
#
46ed8f7d |
| 08-Oct-2007 |
ad <ad@NetBSD.org> |
Use the softint API.
|
#
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
|
#
7bf25686 |
| 11-Dec-2006 |
jdc <jdc@NetBSD.org> |
Add an explicit NULL for the card_detect function (that we don't have/need) in struct pcmcia_chip_functions {}. This now compiles again (adding -Wextra exposed this).
OK martin@.
|