FreeBSD Bugzilla – Attachment 240647 Details for
Bug 268393
system always reboots once from a powered off state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
debugging printfs for hda driver
patch (text/plain), 933 bytes, created by
John Grafton
on 2023-03-07 19:31:48 UTC
(
hide
)
Description:
debugging printfs for hda driver
Filename:
MIME Type:
Creator:
John Grafton
Created:
2023-03-07 19:31:48 UTC
Size:
933 bytes
patch
obsolete
>diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c >index 39b5d5398bb3..a8c09402f8c6 100644 >--- a/sys/dev/sound/pci/hda/hdac.c >+++ b/sys/dev/sound/pci/hda/hdac.c >@@ -960,12 +960,18 @@ hdac_rirb_flush(struct hdac_softc *sc) > bus_dmamap_sync(sc->rirb_dma.dma_tag, sc->rirb_dma.dma_map, > BUS_DMASYNC_POSTREAD); > >+ device_printf(sc->dev, "rirb_base %p \n", rirb_base); >+ device_printf(sc->dev, "rirb_size %d \n", sc->rirb_size); >+ > ret = 0; > while (sc->rirb_rp != rirbwp) { > sc->rirb_rp++; > sc->rirb_rp %= sc->rirb_size; >+ device_printf(sc->dev, "sc->rirb_rp %i \n", sc->rirb_rp); > rirb = &rirb_base[sc->rirb_rp]; >+ device_printf(sc->dev, "rirb address %p ", rirb); > resp = le32toh(rirb->response); >+ device_printf(sc->dev, " response %08x\n", resp); > resp_ex = le32toh(rirb->response_ex); > cad = HDAC_RIRB_RESPONSE_EX_SDATA_IN(resp_ex); > if (resp_ex & HDAC_RIRB_RESPONSE_EX_UNSOLICITED) {
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 268393
:
238814
|
238815
|
238816
|
238817
|
240519
|
240520
|
240521
| 240647 |
240800
|
240801
|
240909
|
240910
|
241040
|
241393
|
241394
|
241460
|
241461
|
241709
|
243289
|
243290
|
243291
|
244703