cegger
6a970ea21d
device_t/softc split
2009-05-05 09:51:23 +00:00
tsutsui
d779b85d3e
Remove extra whitespace added by a stupid tool.
...
XXX: more in src/sys/arch
2009-04-18 14:58:02 +00:00
cegger
c455042514
device_t/softc split. Tested with tlp at pci
2009-04-17 10:20:32 +00:00
cegger
e2cb85904d
bcopy -> memcpy
2009-03-18 17:06:41 +00:00
cegger
c363a9cb62
bzero -> memset
2009-03-18 16:00:08 +00:00
martin
c7cc01c1be
Add id for 5090 variant - reported in PR kern/40524 by Andrew Daugherity.
2009-01-31 13:54:10 +00:00
jnemeth
8fef557086
add a comment explaining how to regenerate eisadevs.h and eisadevs_data.h
2009-01-21 14:18:44 +00:00
apb
96230fab84
Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
...
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
christos
91ca465c78
device_t changes, pmf, minor knf.
2008-08-27 05:33:47 +00:00
cegger
17dbee905c
use device_lookup_private to get softc
2008-06-12 21:46:21 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
cegger
5895620423
use aprint_*_dev and device_xname
2008-04-06 08:54:43 +00:00
tsutsui
d9941582bf
Split device_t/softc for le(4) and variants and misc cosmetic changes.
2008-04-04 12:25:06 +00:00
matt
1338b4a803
use device_t & cfdata_t
2008-03-26 18:08:08 +00:00
matt
db44fdcd39
"split" softc/device_t. (since softc was a struct device, use a split softc
...
size of 0).
2008-03-26 18:06:34 +00:00
dyoung
08a54ea3b3
Use device_xname().
2008-02-18 06:17:27 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
ad
8b4b54cb8d
Improve error handling. Related to PR/21900.
2006-11-28 20:29:14 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +00:00
christos
0668b0a2e0
static goes first
2006-09-02 07:08:39 +00:00
christos
87fd29be14
static goes first.
2006-08-28 00:18:30 +00:00
thorpej
92c7bba3df
Use device_private().
2006-03-29 06:28:38 +00:00
perry
93124077ae
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:27:29 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
drochner
e6a178f21f
kill a number of autoconf submatch functions which follow the
...
standard scheme:
if (<configured> != <wildcard> && <configured> != <real>)
then fail
else
ask device match function
This is handled by config_stdsubmatch() now.
2005-08-25 22:33:18 +00:00
drochner
fa3cb84d62
replace the "locdesc_t" structure carrying the number of locators
...
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
christos
06059a46a3
avoid variable shadowing.
2005-05-30 04:36:52 +00:00
lukem
5e4045c6bb
add __KERNEL_RCSID
2005-05-24 05:14:37 +00:00
christos
362a4a0bd5
Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to
...
implement, xtoa(), but I think defining the samestring 50 times is a bit
too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
2005-05-17 04:14:57 +00:00
perry
3d452a5332
regen
2005-02-27 05:29:24 +00:00
perry
59e1bf05d6
remove trailing whitespace from the stripped RCS Id
2005-02-27 05:29:05 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
thorpej
df9803ce96
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.
2005-02-21 00:29:06 +00:00
thorpej
31dc1f0cd3
Move a comment to indicate the true "end of hardware supported fields".
2004-12-07 19:14:57 +00:00
thorpej
d41e8f00bf
Don't use "struct scsi_generic" in a hardware-defined structure. Instead,
...
use an array of 12 bytes. Check the incoming CDB to see that it will fit,
and print and error and fail the command if it won't.
2004-12-07 14:50:56 +00:00
drochner
c6ad150573
use the locator passing config_found/submatch, and limit use of the
...
"locators.h" header to the .c file
2004-09-01 21:09:09 +00:00
drochner
46289e1fef
Phase out the use of a string as first "attach args" member to control
...
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
2004-08-30 15:05:15 +00:00
drochner
5fa053333d
add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
...
what tens of the bus' parents foo{...}bridge_print()s scattered around do
2004-08-30 10:30:38 +00:00
thorpej
41e5f04cfd
- Use ANSI function decls and make use of static.
2004-08-23 06:03:19 +00:00
thorpej
3e1286d67c
- Use ANSI function decls.
...
- Sprinkle some static around.
- Sprinkle some const around.
2004-08-23 05:50:02 +00:00
itojun
aca4c091d3
sprintf -> snprintf
2004-04-22 00:17:10 +00:00
jmc
43bf89bfc6
Fixes from PR#23177. Various lint/logic fixes:
...
Fix some non-initialized variables
close the output files when done
Redo the printing for RCS strings so they don't expand in the awk script too
Do proper tests for variables existance before accessing
Verified output from all scripts is identical to original versions
2003-12-15 07:32:20 +00:00
keihan
b8702f530b
netbsd.org -> NetBSD.org
...
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
wiz
c0177219fe
Fix some typos. From Tom Cosgrove via jmc@openbsd.
2003-11-02 09:52:33 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
ad
db67878c50
Get the interrupt config from the correct register.
2003-05-03 14:57:38 +00:00
tsutsui
4762c81f53
- #ifdef DEBUG, #if DEBUG -> #ifdef AHC_DEBUG
...
- TAB/space cosmetics
2003-04-22 14:33:01 +00:00