summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-03-20 06:55:49 +0000
committernjl <njl@FreeBSD.org>2005-03-20 06:55:49 +0000
commitd4583f618fa4d349dd484197bf8e99956a527336 (patch)
tree28ce711350fa5397c22881803a73a1079222043a
parent7833997031db990de605579ca2b6348783a44f5e (diff)
downloadFreeBSD-src-d4583f618fa4d349dd484197bf8e99956a527336.zip
FreeBSD-src-d4583f618fa4d349dd484197bf8e99956a527336.tar.gz
s/SLIST/STAILQ to catch up with changes to resource lists.
Missed by: imp
-rw-r--r--sys/ia64/ia64/nexus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/nexus.c b/sys/ia64/ia64/nexus.c
index cc9a93a..fbdec4a 100644
--- a/sys/ia64/ia64/nexus.c
+++ b/sys/ia64/ia64/nexus.c
@@ -241,7 +241,7 @@ nexus_print_resources(struct resource_list *rl, const char *name, int type,
printed = 0;
retval = 0;
/* Yes, this is kinda cheating */
- SLIST_FOREACH(rle, rl, link) {
+ STAILQ_FOREACH(rle, rl, link) {
if (rle->type == type) {
if (printed == 0)
retval += printf(" %s ", name);
@@ -266,7 +266,7 @@ nexus_print_all_resources(device_t dev)
struct resource_list *rl = &ndev->nx_resources;
int retval = 0;
- if (SLIST_FIRST(rl) || ndev->nx_pcibus != -1)
+ if (STAILQ_FIRST(rl) || ndev->nx_pcibus != -1)
retval += printf(" at");
retval += nexus_print_resources(rl, "port", SYS_RES_IOPORT, "%#lx");
OpenPOWER on IntegriCloud