summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30Mop up after oga@ and unbreak the tree. The direct uncached map is gone soMark Kettenis
remove the code from libkvm that dealt with it.
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30Convert a sizeable macro to a much-leaner function. Saves (IIRC) 5k on i386.Bret Lambert
In snaps for a while.
2009-03-30Switch sk(4) over to using MCLGETI when allocating mbufs for the RX ring.Mark Kettenis
Another evil jumbo allocator bites the dust.
2009-03-30make the code look the same; ok kettenisTheo de Raadt
2009-03-30don't use pmapflags unitialized. Fixes envy(4) consuming 80% CPUAlexandre Ratchov
when recording ok oga, deraadt
2009-03-30Remove the direct uncached map. All its users have been removed.Owain Ainsworth
In the future, we need to mark the correct parts of the direct map uncached, but that's another diff. art@, kettenis@ ok.
2009-03-30bzero -> PR_ZEROBret Lambert
ok art@, henning@
2009-03-30Oops. Document new 'U' editor command in '?' output too.Kenneth R Westerback
Prodded by & ok jmc@
2009-03-30Document new 'U' editor command.Kenneth R Westerback
Prodded by & ok jmc@
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30bzero pci attach argsMark Kettenis
2009-03-30allow the disk transfer speed numbers to show useable numbers when disksTheo de Raadt
get really fast; ok canacar
2009-03-30some improvements inspired by a mail on misc@ from frantisek holop:Jason McIntyre
- clarify the terms geometry sectors field and start field - change the fdisk prompt from 0 to 1, and explain its meaning - temper CAVEATS: the note is "common practice", not mandatory from nick and myself
2009-03-30sort the hardware list; from bradJason McIntyre
2009-03-30switch to MCLGETI.David Gwynne
this conversion is the easiest ive done so far. the mbuf allocation wrapper in the driver already had code to handle a failing cluster allocator as part of a test harness, now we test that code all the time with MCLGETI. ok kettenis@ tested by phessler@
2009-03-30Zap a superfluous newline in the drmprint function, it messes up outputOwain Ainsworth
if you disable the device. noticed by deraadt@.
2009-03-30lint; mostly unused variables, carefully checked against all platformsTheo de Raadt
2009-03-30document new versions supportedTheo de Raadt
2009-03-30Support for more chipset versions, written by Ian LindsayTheo de Raadt
2009-03-30Remove the DRM_SPIN lock macros, just expand them to mutex operations.Owain Ainsworth
2009-03-29Correct a couple of ioctl definitions (GEM ioctls, not used yet). andOwain Ainsworth
add two more {GET,SET}_PARAM arguments that aren't supported yet but are needed for a libdrm update.
2009-03-29bzero pci attach argsMark Kettenis
2009-03-29bzero pci attach argsMark Kettenis
ok deraadt@, miod@
2009-03-29Take a shot at baud rate calculations for the 8-portTheo de Raadt
Serial Technologies Expander PCI-232-108
2009-03-29Enable ahc(4).Mark Kettenis
2009-03-29make various strings ("can't map mem space" and similar) more consistentStuart Henderson
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
2009-03-29Make sure systat mbufs prints the interface name even if an interface onlyMark Kettenis
allocates clusters larger than 2k. ok deraadt@
2009-03-29Update spf_calc() for OSPFv3.Stefan Sperling
This implements the first stage of the shortest path tree calculation (Dijkstra calculation) as outlined in rfc5340, with the exception that we do not yet treat multiple router LSAs originated by a single router as an agregate. For now, we only use the Router LSA with the lowest link state ID. For each destination, show the calculated set of nexthops in the debug log. We can stop doing this once spf tree calculation has been shown to be stable. "A lot of debug code but yes why not. commit it." claudio@
2009-03-29Update calc_nexthop() for OSPFv3, using helper functions added inStefan Sperling
last commit. Next hop IP addresses and outgoing interfaces can now be correctly determined, paving the way for SPF tree calculation. Arguments have changed, so update callers, too. ok claudio@
2009-03-29As a first step towards SPF tree calculation, prepare for properStefan Sperling
next-hop calculation. In OSPFv3, next-hop IP addresses are always link-local. The kernel will want to know which interface the link-local address belongs to, so we need an ifindex in struct v_nexthop in addition to the IP address. Because we cannot determine a link-local next hop IP address for transit networks, only the outgoing interface will be recorded. Update calc_nexthop_add() according to the above. Also add new helpers calc_nexthop_lladdr() and calc_nexthop_transit_nbr(), to figure out link-local addresses of nexthop neighbours. ok claudio@
2009-03-29No more NUMBOOT==2 stuff around, nuke it for sake of clarity.Tobias Weingartner
ok krw@
2009-03-29Update linked() for OSPFv3.Stefan Sperling
A router vertex w has a point-to-point link back to a router vertex v if v's router ID occurs as neighbour ID in one of the point-to-point links described in w's router LSA. A router vertex w has a link back to a network vertex v if the router ID of v's advertising router (i.e. DR) occurs as neighbour ID in one of the transit links described in w's router LSA, and v's interface ID to the network matches the neighbour interface ID of that transit link. A network vertex w has a link back to a router vertex v if v's router ID occurs in the list of attached routers in w's network LSA. Also, get_rtr_link() and get_net_link() take an unsigned int now. "commit it" claudio@
2009-03-29Change get_net_link()'s idx argument to unsigned, and make itStefan Sperling
use less local variables. Makes it consistent with get_rtr_link(). ok claudio@
2009-03-29Because get_rtr_link() forgot to increment the buffer offsetStefan Sperling
it was always returning the first link in the LSA, no matter which link was requested. Fix this bug. Also, decrease the number of local variables while here, and convert the idx argument to unsigned int. Adjust one caller to pass an unsigned int, other callers will be handled in follow-up commits. ok claudio@
2009-03-29Remove lsa_find_net(), it isn't needed for OSPFv3.Stefan Sperling
pointed out by and ok claudio@
2009-03-29printf() -> cvs_printf() so it works under server mode as wellJoris Vink
spotted by Jonathan Armani <dbd@asystant.net>
2009-03-29Add lsa_find_rtr() function, which finds among multiple routerStefan Sperling
LSAs originated by the same router the one with the lowest link state ID. ok claudio@
2009-03-29In lsa_num_links(), be more obvious about what parts of the LSAStefan Sperling
are subtracted from the total length. ok claudio@
2009-03-29Add log_rtr_id() function to log 32bit numbers in dot-quad notation.Stefan Sperling
Most obvious use is to log router IDs. To facilitate logging of multiple IDs within the same format string, we use NUM_LOGS static buffers, just like log_sockaddr() does. help and ok claudio@
2009-03-29Now that struct lsa_net represents just the options, orig_net_lsa()Stefan Sperling
can make use of it much better. No functional change. ok claudio@
2009-03-29Remove att_rtr field from struct lsa_net.Stefan Sperling
In Network-LSAs, the only thing sitting between the LSA header and the attached router list is the options field. We already have lsa_net_link to represent elements of the attached router list, so there's no need to have a single entry of this list in lsa_net. ok claudio@
2009-03-29Key-Id 0 is not only not available on Cisco devices but also on other devices.Claudio Jeker
Make this a more general concern about using 0 as key id. After discussion with Tamas TEVESZ
2009-03-29Stop using the att_rtr member of struct lsa_net, we're going to remove it.Stefan Sperling
Calculate offsets with a struct lsa_net_link pointer instead. ok claudio@
2009-03-29When trying to get the console font metrics and window position, we canMiod Vallat
always retrieve the font metrics, even on older (< 2.9) prom, so do it.
2009-03-29Finally fix kernel crash (page fault) when closing bulk devices.Marcus Glocker
Help from kettenis@