Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Steve Woodford <email@example.com>
Date: 09/29/2003 14:10:35
Module Name: src
Committed By: scw
Date: Mon Sep 29 14:10:35 UTC 2003
Copy our pci_chipset_tag_t into wi_pci_softc instead of a pointer
to pci_attach_args. The latter is allocated on the stack during auto-
configuration and so will not be valid after that time.
It's amazing how the old code worked for so long. I guess pci_attach_args
is allocated deep in pid#0's kernel stack on most platforms.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/dev/pci/if_wi_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.