summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-06-24Remove some unused leftover code; original request from jasper@Uwe Stuehler
2007-06-24Crank initial storage for extents a bit. We really should allocate extentsMark Kettenis
using malloc once vm is initialised, but this will do for now. ok deraadt@
2007-06-24Fix xd and xy disklabel handling.Miod Vallat
2007-06-24Attach as console when appropriate.Mark Kettenis
2007-06-24When bootfile was made global so that macppc could modify it, itTom Cosgrove
clashed with a global variable already used by the bootblocks. Therefore rename bootfile here to kernelfile. ok drahn@
2007-06-24Fix typo in (unused) #define.Mark Kettenis
2007-06-24Save some bytes and make code more readable by removing junk union andRyan Thomas McBride
unused ifname (this information is in struct pf_state_sync now). Also a bit of KNF on the pf_state struct. ok mpf@ henning@
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@
2007-06-23Implement disk sizes > 2^32-1. Code modelled on NetBSD.Kenneth R Westerback
Tested, tweaked and ok otto@
2007-06-23Enable workaround for decrementer exception problem.Dale Rahn
2007-06-23net80211 growth means vr(4) goes away for nowTheo de Raadt
2007-06-23use a masked destination network instead of the interface ip for theReyk Floeter
destination of the route belonging to the carp interface. ok mpf@ claudio@
2007-06-23Accept 0x00 as notify type since some notebooks (MSI-S260)Can Erkin Acar
incorrectly use it when signaling events. ok marco@
2007-06-23Remove raidmakedisklabel(). The only invocation was commented out inKenneth R Westerback
2000, presumably because we spoof a label when one is not found. This removes the last (?) code that assigned a file type other than FS_UNUSED to the RAW_PART partition.
2007-06-22syncTodd T. Fries
2007-06-22according to claudio, entries should be ordered by PCI ID, fix two not in orderTodd T. Fries
ok claudio@, mk@ .. noticed by brad
2007-06-22Update ffs[1/2] time last written for cg's inThordur I. Bjornsson
clusteralloc(); From mickey; ok pedro@
2007-06-22Regen.Alexander Yurchenko
2007-06-22Add vendor/product HUMAX/PVR-SMART for jmc@.Alexander Yurchenko
2007-06-22export the flow/filter information attached to the SA, too; ok hshoexer@Markus Friedl
2007-06-22PCI malo(4) worksMartin Reindl
from Janjaap van Velthooven
2007-06-22ansify/de-registerJasper Lievisse Adriaanse
no binary change
2007-06-22declare "uid" as uid_t instead of u_int, and fix format string accordinglyJasper Lievisse Adriaanse
ok pedro@ thib@
2007-06-22declare "pid" as pid_t instead of long, and remove unneeded cast to pid_tJasper Lievisse Adriaanse
ok pedro@ thib@
2007-06-21remove a whole bunch of duplicate functionThordur I. Bjornsson
prototypes. (survived build/release on macppc/amd64). ok pedro@
2007-06-21cleanup CAPINFO values.Damien Bergamini
2007-06-21add EDCA Parameter Set and QoS capability IEs to appropriate framesDamien Bergamini
when QoS is supported and activated.
2007-06-21add two new functions:Damien Bergamini
ieee80211_up_to_ac(): returns the access category to be used for transmitting a frame with a given user priority. ieee80211_classify(): returns the user-priority of an mbuf based on VLAN 802.1D user-priority (if any) or IP TOS precedence field. indent prototypes and add myself to the copyright list while i'm here.
2007-06-21Brace got lost in rev 1.51.Miod Vallat
2007-06-21Enable memory above 256MB again now that bus_dma has been fixed.Miod Vallat
2007-06-21Extent sgi bus_dma to cope with different views of memory: non-contiguousMiod Vallat
for the cpu, contiguous from different bases for devices. This allows memory above 256MB to be used with bus_dma (and we had really been lucky with the first few large-memory builds). Information about memory accesses taken from Linux.
2007-06-21add (currently unused) code to parse RSN IEs.Damien Bergamini
2007-06-21parse vendor-specific Microsoft WMM OUI.Damien Bergamini
unfortunately, most APs that advertise themselves as being 802.11e capable still use the Microsoft OUI instead of the standard IEEE 802.11 information element.
2007-06-21cleanup the list of Organizationally Unique Identifiers (OUI).Damien Bergamini
2007-06-21force logif to zero if no logging is asked forHenning Brauer
check the logif when changing a rule from max laier, ok ryan
2007-06-21add fields for EDCA.Damien Bergamini
2007-06-21add code to parse EDCA parameter set information elements.Damien Bergamini
add myself to the copyright list.
2007-06-21s/IEEE80211_ELEMID_EDCA_PARAMS/IEEE80211_ELEMID_EDCAPARMS/ for consistency.Damien Bergamini
2007-06-21split ieee80211_recv_mgmt() into smaller functions:Damien Bergamini
- ieee80211_recv_probe_resp - ieee80211_recv_probe_req - ieee80211_recv_auth - ieee80211_recv_assoc_req - ieee80211_recv_assoc_resp - ieee80211_recv_deauth - ieee80211_recv_disassoc "reads ok" jsg@ claudio@ mglocker@
2007-06-21english, okay jmc@Pedro Martelletto
2007-06-21reimplement interface bound states in a non-retarded way.Henning Brauer
previously, we had a set of state tables attached to each interface. so for every packet we had to do a lookup in the tables for the interface, and afterwards in the global tables. since we split state keys and states now, use only the global tables, and put the actual states in a tail queue attached to the state key. sort the list so that ifbound states come before global ones. on lookup, we only have to compare the interface pointer on the actual states and use the first one where either the interface matches or the state is not interface bound. thus, if you don't actually use ifbound states, and there is only one state per state key, the overhead is close to zero, where we had extra lookups before. in addition to a much cleaner design (that'll allow for more goodies later) this gives us ~12.5% more forwarding performance. mostly hacked at c2k7, lots of help, testing and ok mcbride & markus
2007-06-21Fix microtime to not lose clocik ticks, gives us among other things, realMiod Vallat
ping times on slow links; from mickey
2007-06-21Simple optimizations:Miod Vallat
- in __pmap_pv_enter, only walk the pv list to search for writeable mappings if we are ading a readonly mapping. - im pmap_protect, do not invoke pmap_extract(), instead directly extract the paddr from the pte we have already computed a few lines above.
2007-06-21Attach interrupt counters to intc interrupt sources too, so that clockMiod Vallat
interrupts get counted; from mickey
2007-06-21rework how the IFF_PROMISC and IFF_ALLMULTI flags are dealt with, and howDavid Gwynne
the multicast filter is programmed. IFF_ALLMULTI is for use by the driver and only the driver, meaning that we have to clear it when its not needed anymore. now that the ethernet layer counts the number of multicast address ranges we can check that early to determine if ALLMULTI is needed, rather than doing the stupid goto allmulti dance as we iterate over the multicast address list. the imperfect multicast filter is a 16 byte wide bitfield, so we can use the "setbit" macro to build it in memory, and then write it to the hardware as a bus_space region. this simplifies the code a lot and avoids confusing bitshifts on u_int32_ts to get the bits in the right place. tested by krw on amd64, naddy on alpha, deraadt on sparc64, and beck on various bits. ok beck
2007-06-20Do not hardcode imask[] size when intializing it.Miod Vallat
2007-06-20These drivers were abusing b_cylinder to store device-specific informationMiod Vallat
in strategy(), and were reusing it in start(). I first considered introducing a b_rawblkno field in struct buf, as has been done in NetBSD, to stop this abuse. However, it does not cost more to simply move the device-specific ``was-b_cylinder'' computation to the start() routine. Plus we get type fixes (daddr64_t) for free, although this does not really matter for these pedro-sized devices. Thus we do not need to grow struct buf for these devices which really ought to live in your Attic (and my machineroom, of course). hp300 HP-IB tested, vax mfm not, but the logic is the same.
2007-06-20alpha kernel have wsmux but not the actual devices; PR #5469 from janjaapMiod Vallat
2007-06-20Add file such that a kernel with lpt at ssio actually compiles.Mark Kettenis
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod