[Bug 187015] agpgart: Panic make_dev_credv: bad si_name (error=17, si_name=agpgart)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Nov 2021 16:37:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187015
--- Comment #31 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=437ea82ce7fc3e664447b9e7d08f5c135a7e2f31
commit 437ea82ce7fc3e664447b9e7d08f5c135a7e2f31
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-11-25 16:27:49 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-11-25 16:36:33 +0000
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
sys/dev/agp/agp.c | 33 ++++++++++++++++++++++++++++-----
sys/dev/agp/agppriv.h | 1 +
2 files changed, 29 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.