[問題] linux driver alloc_netdev 與 attribute

看板LinuxDev作者 (C語言)時間14年前 (2011/06/02 21:52), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
想請問一下 現在我呼叫一個 alloc_netdev() 配置一個 network driver. 然後創建一個 attribute. device_create_file(d, &dev_attr_timeout_suspend) 但是我現在不知道要去哪找這個檔案. 想請問一下 netdev 的路徑是在哪? kernel 版本 2.6.35 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.87.64.222

06/02 22:34, , 1F
06/02 22:34, 1F

06/04 01:56, , 2F
可以了 謝謝樓上
06/04 01:56, 2F
文章代碼(AID): #1DvvMIIo (LinuxDev)