summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2022-07-11Consistently use semicolon. No functional change.msaitoh
2022-07-09Fix GENFB_GLYPHCACHE with shadow fb.rin
2022-07-09Add preliminary support for Aero.msaitoh
- Aero supports 32bit descriptor. - Even if the Aero card supports 32bit descriptor, 64bit descriptor access is required for MFI_CMD_INIT. - Add quirk for Aero to retry register read. - The PCI ID table for Aero is disabled. Even if it's enabled, any logical volumes are not found. Perhaps the reason is that our mfii driver is currently not supports more than 64 logical volumes and MR_DCMD_LD_GET_LIST returns incorrect value. Tested by Mark Daies' H750.
2022-07-09Use bus_space_write_8() if available.msaitoh
2022-07-09Modify strange bus_space_barrier().msaitoh
2022-07-09Remove redundant ``devsw_ok = false;''pgoyette
Thanks mrg@
2022-07-08devsw_ok needs to survive across invocations of nvme_modcmd() sopgoyette
allocate it statically. Should address remaining issues with kern/56914
2022-07-08Initialize cmajor & bmajor so the devsw_attach() has a chance ofpgoyette
succeeding. Record the success of devsw_attach(), and do not try later to devsw_detach() unless the attach succeeded. Partial fix for kern/56914
2022-07-08alredy -> alreadyskrll
2022-07-07Add errno tto message when fail to attach the devswpgoyette
2022-07-07Only detach the cfdriver if we just attached it.pgoyette
Report errno in message when fail to attach cdevsw
2022-07-07Trailing whitespaceskrll
2022-07-06s/ponters/pointers/andvar
2022-07-06Add missing brace.hannken
2022-07-06nvmm(4): Fix typo in previous.riastradh
Didn't trip over this in my test build because nvmm is a module, oops.
2022-07-06fix various typos in comments.andvar
2022-07-06Call txeof first, then rxeof for the consistency.msaitoh
There are three functions where the txeof and rxeof are called. The MSI-X interrupt function and the workqueue function call rxeof first, then rxeof. For legacy interrupt. rxeof is called first. Modify it to match with other two.
2022-07-06Call txeof first, then rxeof for the consistency.msaitoh
There are three functions where the txeof and rxeof are called. The legacy interrupt function and MSI-X function call rxeof first, then rxeof. For the workqueue function. rxeof is called first. Modify it to match with other two.
2022-07-06Cosmetic changes. No functional change intended.nat
2022-07-06Add support for HXN variants from openbsd.nat
2022-07-06Fix compile error if WM_DEBUG is set.msaitoh
2022-07-06uvm(9): fo_mmap caller guarantees positive size.riastradh
No functional change intended, just sprinkling assertions to make it clearer.
2022-07-05fix various typos in comments.andvar
2022-07-05s/retrys/retries/ in comments.andvar
2022-07-04Be less tautological and more explanatory in a comment.skrll
2022-07-03s/bounaries/boundaries/ in comments.andvar
2022-07-03*** empty log message ***skrll
2022-07-03KNFskrll
2022-07-03Perform a BUS_DMASYNC_POSTREAD on the bge_status_block before reading fromskrll
it as required by bus_dma(9).
2022-07-03fix various typos in comments, mainly s/pallete/palette/.andvar
2022-07-02s/tempurature/temperature/andvar
2022-07-02KNF. Remove brackets around return values.skrll
2022-07-02One timeout message (the write one) in bge_miibus_writereg is enough.skrll
2022-07-02Modernise bge_update_all_threshes. Same code before and after.skrll
2022-07-02Simplification. Same code before and after.skrll
2022-07-02Use C99 types. same code before and after.skrll
2022-07-02Sprinkle some BITS(3). Same code before and after.skrll
2022-07-02Use BUS_ADDR_{LO,HI}32. NFCI.skrll
2022-07-02More const. Remove strange ifp assignments in bge_init.skrll
2022-07-02Use PRIxBIT instead of castsskrll
2022-07-02wm_tick: Add missing splx(s) when not WM_MPSAFEskrll
2022-07-01umidi(4): Clarify loops. No functional change intended.riastradh
2022-07-01upgt(4): Make upgt_free_cmd match upgt_alloc_cmd.riastradh
Reported-by: syzbot+365e26863f286c6677b7@syzkaller.appspotmail.com
2022-07-01uvideo(4): Make alloc logic match free logic.riastradh
Reported-by: syzbot+57cdc1be653327f78b6f@syzkaller.appspotmail.com PR kern/53734
2022-07-01uvideo(4): Assert number of units can't overflow.riastradh
Not sure if this is true, but at least we'll trap instead of silently undercount this way.
2022-07-01sequencer(4): Fix lock leak in ioctl(FIOASYNC).riastradh
Reported-by: syzbot+0bfe9054ab0e70ab02e6@syzkaller.appspotmail.com Reported-by: syzbot+f2c5459483e60dd2c877@syzkaller.appspotmail.com Reported-by: syzbot+d932ddf0ec7e30784ca8@syzkaller.appspotmail.com Note: The evidence from https://syzkaller.appspot.com/bug?id=19e1c8779bb0e020188ca80a586e470b59d7525d suggests in the stack trace that the syscall was 16, which is chown. This is not accurate; it happens because the x86 syscall logic sets rax in the trapframe to the return value (in this case, 16 is EBUSY) _before_ calling userret which does the lockdebug checks, and ddb uses the trapframe's rax to show what the syscall number was when printing its stack trace: [ 104.0605877] Mutex error: lwp_exit,1084: sleep lock held [ 104.0605877] lock address : 0xffffd9801269e050 type : sleep/adaptive ... [ 104.5005727] syscall() at netbsd:syscall+0x323 sys/arch/x86/x86/syscall.c:92 [ 104.5115909] --- syscall (number 16) --- XXX Maybe we should record the syscall number elsewhere so this is not so confusing -- second time in 24h I've been bitten by this, and in a different way.
2022-06-30KNF some commentsskrll
2022-06-30Remove strange (duplicate) assignment.skrll
2022-06-30KNFskrll
2022-06-30a driver for Wacom Intuos drawing tablets, from Yorick Hardymacallan
this has been sitting in my tree long enough and works fine with the hardware I have access to