summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-22When disassembling, if our pc matches the beginning of a routine, thenMiod Vallat
it's at routine+0; do not search for the previous routine in the symbol table. This fixes tracebacks when the fault occurs on the first instruction of a routine.
2009-07-22Put the PG_RELEASED changes diff back in.Owain Ainsworth
This has has been tested very very thoroughly on all archs we have excepting 88k and 68k. Please see cvs log for the individual commit messages. ok beck@, thib@
2009-07-22tty_write is relatively short and the only function left in tty-write.c so moveNicholas Marriott
it into tty.c.
2009-07-22More tty code tidying: move the saved cursor/region position (from before theNicholas Marriott
screen was updated) out of struct screen and into struct tty_ctx.
2009-07-22via nano cpus are amd64, and so we need machdep.xcryptTheo de Raadt
2009-07-22Overhaul resource handling and mapping in macepcibr(4):Miod Vallat
- do not use a stinking extent to track bus_space_map allocations, but directly map in XKPHYS instead. What are 64 bit address spaces good for if we still need to use TLB for that? - provide proper resource management extents to the MI pci code, so that, in turn, the cardbus code can reuse them instead of providing their own. - use the whole 4GB address space window for PCI I/O resources, just because we can. - make sure no device can get assigned address zero in I/O space, because this address triggers a PCI error.
2009-07-22libsa printf doesn't support sizes in %s specifiers; fix format stringsMiod Vallat
accordingly.
2009-07-22Fix the configure test for symbol visibility support; the current testMiod Vallat
tries to check for an old, known to be flawed, ld version, but the in-tree ld causes a false positive.
2009-07-22Make sure the irq numbers for the O2 event counters match the interrupt linesMiod Vallat
reported in dmesg. While there, silence the spurious interrupt warning logic if, at the time it is triggered, there are really no hardware interrupts pending; this can happen if serial interrupts gets processed e.g. at splx() before the hardware interrupt routine has a change to run.
2009-07-22Define BUS_SPACE_MAP_CACHEABLE.Miod Vallat
2009-07-22log_debug3 no longer exists, change the sole use in GRID_DEBUG to log_debug2.Nicholas Marriott
2009-07-22enum tty_cmd is only used as an index into the array of command functionNicholas Marriott
pointers, so remove it and use the function pointers directly to represent themselves.
2009-07-22syncAlexandre Ratchov
2009-07-22add missing /dev/{rmidi,sequencer,music} bits in MAKEDEV forAlexandre Ratchov
armish, landisk and zaurus. Also fix corresponding .Xr in MAKEDEV.8 ok miod@, todd@
2009-07-22There are relatively few arguments to tty_cmd_* functions now, so tidy them upNicholas Marriott
by using a struct rather than hiding everything with varargs.
2009-07-22correctly list which files this license applies toTheo de Raadt
2009-07-22tty_cmd_raw is only used once, for raw UTF-8 output, so rename it toNicholas Marriott
tty_cmd_utf8character and eliminate the size argument.
2009-07-22enter_user() is only called in one way, rendering the third parameterTheo de Raadt
useless; from mark@cyodesigns.com
2009-07-22Instead of calculating a number of seconds to sleep, tsleep()ing onBret Lambert
lbolt and waking up every second and checking to see if the correct number of seconds has passed, just calculate the timeout once and pass that to tsleep(). ok thib@
2009-07-22remove a comment thats part lie and part stating the obvious.Thordur I. Bjornsson
ok blambert@
2009-07-22Comment diff only; list an additional supported PHY and add a linkStuart Henderson
to the datasheet. From Brad.
2009-07-22The last paragraphs of the "Built-in commands" section are properlyPhilip Guenthe
part of the '@' command and not general section paragraphs and therefore should be indented with the others. ok jmc@
2009-07-22syncTheo de Raadt
2009-07-21Adjust field width to fit longest key when listing.Nicholas Marriott
2009-07-21Make pmap_enter respect the PMAP_CANFAIL flag. With and essentialMark Kettenis
memory leak plug from drahn@
2009-07-21PCI-Cardbus bridge support for both O2 (macepcibr) and Octane/Origin (xbridge)Miod Vallat
class systems. Tested on O2 and Origin 200 with wi@pcmcia and xl@cardbus, using a Ricoh 5C475-based cbb(4) board. acx@cardbus doesn't work reliably yet, so your mileage may vary until more bugs are fixed. Thanks to matthieu@ for lending me some cardbus devices for testing.
2009-07-21Make rbus_new_body() invocable from outside cardbus.c, to allow md codeMiod Vallat
to use it to allocate a ``every operation will fail'' rbus in case of error.
2009-07-21Remove leftover debug logging of password.Nicholas Marriott
2009-07-21Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t insteadMiod Vallat
of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended.
2009-07-21Use the symbolic constants for the window registers in pci configurationMiod Vallat
space in pccbb_winset(), instead of their bare values. Saves time for grep users. While there, a few grammar and typo fixes in comments.
2009-07-21Make some functions which return unused values void (mostly found by lint) andNicholas Marriott
tweak a redundant expression in window_pane_set_mode.
2009-07-21Nix a few unused attributes on arguments which are no longer unused.Nicholas Marriott
2009-07-21Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found byNicholas Marriott
lint.
2009-07-21__progname is not const, pointed out by deraadt.Nicholas Marriott
2009-07-21Tidy up keys: use an enum for the key codes, and remove the macros which justNicholas Marriott
wrap flag sets/clears/tests.
2009-07-21add missing flag to synopsis.Igor Sobrado
2009-07-21Rewrite ioctl parts and rx filter handling. From Brad, tested byStuart Henderson
myself and jasper@.
2009-07-21stop gcc from whiningTheo de Raadt
2009-07-21Allow systat(1) to resolve names by adding a new -N flag. (The default wasStuart Henderson
changed some time ago). Noticed by landry@, discussed with canacar@ and others. ok deraadt@
2009-07-21syncTheo de Raadt
2009-07-21pf_scrub_ip/ip6 prototypes are already in pfvar.hHenning Brauer
2009-07-21Support KERN_FILE_TEXT here tooTodd C. Miller
2009-07-21Handle the case where so_pcb is NULL.Todd C. Miller
2009-07-21Add a family flag for the original 5700 series chipsets. Idea from FreeBSD.Christian Weisgerber
But also use the flag where it makes sense. From Brad; ok sthen@
2009-07-21sorry, but showing a diff, getting an explicit "not ok" and then committingHenning Brauer
anyway without oks is not our process
2009-07-21Call timeout_set() from rl_attach, not rl_init(). From Brad.Stuart Henderson
2009-07-20Pass a pci_chipset_tag_t to pci_intr_line(), to eventually allow theMiod Vallat
logic to be chipset dependent; no functional change yet. ok kettenis@
2009-07-20Now that #P could be in the status line, flag it for redraw when the activeNicholas Marriott
pane changes.
2009-07-20(struct foo *)0 -> NULL, every where I could find it.Thordur I. Bjornsson
OK blambert@
2009-07-20Tweak unbind-key language very slightly.Nicholas Marriott