Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Const poison the channel name.
details: https://anonhg.NetBSD.org/src/rev/d3f899c43424
branches: trunk
changeset: 556496:d3f899c43424
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Dec 19 05:55:12 2003 +0000
description:
Const poison the channel name.
diffstat:
sys/dev/pci/pciidevar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0019f44f39ab -r d3f899c43424 sys/dev/pci/pciidevar.h
--- a/sys/dev/pci/pciidevar.h Fri Dec 19 05:16:57 2003 +0000
+++ b/sys/dev/pci/pciidevar.h Fri Dec 19 05:55:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pciidevar.h,v 1.16 2003/12/19 05:16:57 thorpej Exp $ */
+/* $NetBSD: pciidevar.h,v 1.17 2003/12/19 05:55:12 thorpej Exp $ */
/*
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@@ -111,7 +111,7 @@
/* internal bookkeeping */
struct pciide_channel { /* per-channel data */
struct channel_softc wdc_channel; /* generic part */
- char *name;
+ const char *name;
int compat; /* is it compat? */
void *ih; /* compat or pci handle */
bus_space_handle_t ctl_baseioh; /* ctrl regs blk, native mode */
Home |
Main Index |
Thread Index |
Old Index