Age | Commit message (Collapse) | Author |
|
root= becomes rootdev=
|
|
Also notify upstream when a port finished reseting and when the
connection status changes.
Gets things further along to the point where pipe device transfer
and control methods are required.
|
|
for DMA, back when this was applicable.
|
|
Contributed by Markus Mueller; code based upon Bitrig's GPT support, with
stricter GPT structures validation and support for alternate header places.
ok deraadt@ jsing@ krw@
|
|
|
|
ok pirofti@
|
|
- unbreak GENERIC.MP build
|
|
|
|
ok mpi@ sthen@
|
|
"go ahead" kettenis@
|
|
For now just acknowledge and clear the event to avoid interrupt storms.
|
|
"sure" miod@
|
|
|
|
|
|
compile again; tested by aoyama@
|
|
- remove unused define
|
|
|
|
Some architectures have ability to detect hardware sanity and notify system
(NMI, firmware callback, etc.). Handle these hardware severe errors, same
as software errors, with panic(9).
According to miod@, SGI IP27 NMI is triggered by pushing some "hidden" button,
which "usual" users/admins don't know. Pushing such a button is "RB_USERREQ"
(human-triggered) in that the button is pushed by a human, but not "RB_USERREQ"
in that no user intervention in system (== no command input) is done. miod@
agreed that changing these from RB_USERREQ to !RB_USERREQ (== panic(9)) is
not a big problem.
OK miod@ kettenis@
|
|
ok pirofti@
|
|
take away."
remove uyap. no effect except on hppa where it was strangely enabled.
|
|
ok miod@
|
|
architectures.
ok deraadt@
|
|
Found by me, fixed by krw@. Thanks!
|
|
Connects and disconnects have no affect on the machine, just like before
this driver came into existence.
While at it check for a few more interrupt types.
|
|
|
|
|
|
|
|
pass it to the kernel later on. also use it to get the clock frequency.
- implement getsecs() so the bootprompt timeout works
input/ok miod@ pirofti@
|
|
512-byte sectors. Unlikely to affect CF's in the near future.
ok pirofti@
|
|
prompted by miod@
|
|
Some ports watch temperature in MD and try to shutdown system, when overheated,
by calling directly (re)boot(9). Change this to signal init(8) from kernel,
as acpi(4) and acpitz(4) do, which has been more tested. This also helps to
clarify design that ``clean shutdown must be always started by init(8)''.
Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as
acpi(4) etc. already does. It is reasonable, pointed out by kettenis@,
considering system is overheated and immediate reboot may be dangerous.
OK deraadt@ miod@
|
|
ok matthieu@ rapha@
|
|
|
|
|
|
|
|
after discussions with beck deraadt kettenis.
|
|
Reminded by mpi@, thanks!
On a side note usb sticks don't get fried anymore, they "just"
freeze the system.
|
|
Port reset doesn't need the spl dance, as discussed with mpi@
|
|
* you can #include <sys/endian.h> instead of <machine/endian.h>,
and ditto <endian.h> (fixes code that pulls in <sys/endian.h> first)
* those will always export the symbols that POSIX specified for
<endian.h>, including the new {be,le}{16,32,64}toh() set. c.f.
http://austingroupbugs.net/view.php?id=162
if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)
* when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
<arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
and betoh*
ok deraadt@
|
|
|
|
|
|
Only the DMA-challenged host controllers need to, so don't panic!
While at it add some more debug messages when the interrupt returns 0.
|
|
|
|
wreaking havoc.
from miod@
|
|
|
|
I have found that some ports call boot(9) from machine-dependent code to
reboot system. These should be changed to either:
- Sending signal to init(8) to trigger it to shutdown system cleanly, like
acpi(4) does, in cases where found problems don't prevent system from working
immediately, or
- Just doing panic(9) if the situation is severely broken.
For now, just rewrite boot() to reboot(). Actual fixes follow.
Discussed with & OK from kettenis@
|
|
is the right approach
- write into _THR instead of _RBR for cnputc() as per miod's suggestion
this doesn't fix the first character that gets eaten, but it's the right way
to move forward.
with pirofti@
|
|
It was never enabled and is apparently unfinished.
ok deraadt@ krw@ claudio@ kettenis@
|
|
built-ins which aren't available on vax. (A similar diff for m88k is in the
pipeline as well)
|
|
thanks to Fred Crowson (fred () crowsons ! net) who was able
to make sure his cd would still eject when the button was pushed,
and stsp@ who lent me his macppc laptop
|