FreeBSD Bugzilla – Attachment 145022 Details for
Bug 187015
agp(4): Panic make_dev_credv: bad si_name (error=17, si_name=agpgart)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
test patch for 9-STABLE.
patch-9-agp.txt (text/plain), 970 bytes, created by
Tatsuki Makino
on 2014-07-27 06:16:04 UTC
(
hide
)
Description:
test patch for 9-STABLE.
Filename:
MIME Type:
Creator:
Tatsuki Makino
Created:
2014-07-27 06:16:04 UTC
Size:
970 bytes
patch
obsolete
>Index: sys/dev/agp/agp.c >=================================================================== >--- sys/dev/agp/agp.c (revision 269147) >+++ sys/dev/agp/agp.c (working copy) >@@ -256,9 +256,24 @@ > TAILQ_INIT(&sc->as_memory); > sc->as_nextid = 1; > >+device_printf(dev, "==== make_dev agpgart for %#x ====\n", pci_get_devid(dev)); >+DELAY(4000000); >+#if 0 > sc->as_devnode = make_dev(&agp_cdevsw, > 0, UID_ROOT, GID_WHEEL, 0600, "agpgart"); > sc->as_devnode->si_drv1 = dev; >+#else >+ sc->as_devnode = make_dev_credf(MAKEDEV_CHECKNAME, &agp_cdevsw, >+ 0, NULL, UID_ROOT, GID_WHEEL, 0600, "agpgart"); >+device_printf(dev, "==== sc->as_devnode: %p ====\n", sc->as_devnode); >+ if (sc->as_devnode == NULL) { >+ } else { >+device_printf(dev, "==== sc->as_devnode->si_drv1: %p ====\n", sc->as_devnode->si_drv1); >+ sc->as_devnode->si_drv1 = dev; >+device_printf(dev, "==== sc->as_devnode->si_drv1: %p ====\n", sc->as_devnode->si_drv1); >+ } >+DELAY(4000000); >+#endif > > return 0; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187015
:
145022
|
145023
|
175656
|
176606
|
204441