diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2021-11-25 16:27:49 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2021-11-25 16:36:33 +0000 |
| commit | 437ea82ce7fc3e664447b9e7d08f5c135a7e2f31 (patch) | |
| tree | 2821409200f31db875d1f5a9a52c588a119cd68b /tools/boot | |
| parent | 52d973f52c07b94909a6487be373c269988dc151 (diff) | |
agp: Handle multiple devices more gracefully
Currently agp(4) effectively assumes that only one driver instance
exists, as the generic attach routine attempts to create /dev/agpgart
and triggers a panic if it already exists. Instead, handle this
situation by creating /dev/agpgart<unit> and making /dev/agpgart an
alias of /dev/agpgart0 for compatibility.
PR: 187015
Reviewed by: imp, kib
Tested by: Yoshihiro Ota <ota@j.email.ne.jp> (earlier version)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D33068
Diffstat (limited to 'tools/boot')
0 files changed, 0 insertions, 0 deletions
