summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-05-21some diskless pointers; ok deraadtJason McIntyre
2006-05-21move variable declarations at the start of a block in ami_attach to the topDavid Gwynne
of the function and unindent that block. ok krw@
2006-05-21during attach use a static, spartan ccb with ami_poll to query to firmareDavid Gwynne
for its params. this means we can ask it how many ccbs it can deal with before we allocate them. ok krw@
2006-05-21the maximum possible number of ccbs that a megaraid can use (126 of them)David Gwynne
is preallocated in the softc, even if the driver is only ever going to use one of them when running. this allocates them separately during attach as a first step toward having the driver only allocate as many ccbs as the firmware can support. ok krw@
2006-05-21Add alarm function opcodes.Marco Peereboom
2006-05-21Move common definitions shared by the various 88100-based designs to theirMiod Vallat
own header file, and slowly make most of the code board-independent. No functional change.
2006-05-21account for the size of a 802.11 header in ieee80211_getmbuf().Damien Bergamini
fix some typos while i'm here. ok reyk@ brad@
2006-05-21Oops, helps to use the right structure field.Marco Peereboom
Use actual nr of physical disks present.
2006-05-21Add first BIOCINQ primitive.Marco Peereboom
2006-05-21remove a chunk of code that was ifdefed out due to compat issues withDavid Gwynne
older firmwares. it was stagnating and now completely broken. if we need it back then we can poke around in cvs for it.
2006-05-21replace lockmgr with rwlock.David Gwynne
2006-05-21The SCSI command on the passthrough bus is handed to the firmware via aDavid Gwynne
structure not included in the MegaRAID command, so it needs to be synced before we submit it. Previously this was done only when the SCSI command had an associated data buffer. The syncing of the passthrough command is now done unconditionally. ok krw@ marco@
2006-05-21Check for stale flags in the DMA map.Brad Smith
From thorpej NetBSD
2006-05-21- _bus_dmamap_load_buffer_direct_common -> _bus_dmamap_load_buffer_directBrad Smith
- fix _bus_dmamap_load_(uio/mbuf)_direct panic messages. - s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message. From NetBSD
2006-05-21Fix a couple of comments.Brad Smith
From NetBSD
2006-05-21Pay attention to BUS_DMA_READ; don't need to allocate a spillBrad Smith
page if it is set. From NetBSD
2006-05-21Implement dmamap_load_uio for SGMAPs.Brad Smith
From NetBSD
2006-05-21recognise the perc4/dc firmwareDavid Gwynne
2006-05-20also attach to Broadcom BCM5706C and BCM5708C PHY.Brad Smith
2006-05-20It is possible for a sensor to be detached and freed while it is beingDavid Gwynne
copied out to userland. If this happens we get a use after free and things blow up. Prevent this by making a local copy of the sensor that cannot be freed elsewhere in the kernel and copying that out instead. found by mbalmer@ ok deraadt@ krw@
2006-05-20Let the bootloader pass esym to the kernel, and let the kernel make good useMiod Vallat
of this if it finds out it has not been directly loaded by the PROM; not tested yet.
2006-05-20Detect BOOTARG_BOOTMAC coming from PXE; search for interface and attemptTheo de Raadt
to boot from it. At the same time add -a support for network interface selection; tested by reyk, mk, deraadt on i386, cloned code applied to amd64 and tested a little bit less
2006-05-20handle BOOTARG_BOOTMAC from boot block; tested by reykTheo de Raadt
2006-05-20Lower load address 128KB, to cope with the PROM data area on 8MB machines.Miod Vallat
2006-05-20push a BOOTARG_BOOTMAC (what PXE says is the MAC address of the interfaceTheo de Raadt
we are booting from) out towards the kernel; tested by reyk crank the version too
2006-05-20add bios_bootmac_t and BOOTARG_BOOTMACTheo de Raadt
2006-05-20No need to define two page freelists since we'll only populate one; testedMiod Vallat
by robert@
2006-05-20Crank VM_MAX_ADDRESS to 4GB minus one page now that pmap will accept it.Miod Vallat
2006-05-20Make sure pmap copes with address wraparounds when operating on ranges.Miod Vallat
This removes the dependency for VM_MAX_ADDRESS to be aligned on a segment boundary. While there, remove a few internal pmap macros from mmu.h.
2006-05-20bump copyrightReyk Floeter
2006-05-20NFSCLIENT can obviously fit on hereTheo de Raadt
2006-05-20drop packets received on inactive failover ports without increasing theReyk Floeter
error counter. just silently drop them... figured out by todd@, ok brad@
2006-05-20don't panic if the address familiy is not found in the rt_tablesReyk Floeter
ok henning@
2006-05-20add show all pools command listing all pools as vmstat -m does; miod@ okMichael Shalayeff
2006-05-20Don't mark a mount point read-only if we are about to sync it, otherwisePedro Martelletto
stuff that relies on ffs_update() to flush an inode will fail. Fixes PR 4997, okay tedu@
2006-05-20more radiotap.Damien Bergamini
2006-05-20Directly pass a pmap to flush_atc_entry() instead of individual fields of it.Miod Vallat
No functional change.
2006-05-20more rx radiotap statsDamien Bergamini
2006-05-20Do not wait until Lstart2 to reset the HP MMU command register on modelsMiod Vallat
which need it. This allows up to free a1 for general use much earlier.
2006-05-20Put explicit barriers in in-line spl functions.Miod Vallat
2006-05-20Some more EST improvements:Dimitry Andric
- Add Pentium M 710, 730, 740, 750, 760; preliminary, not all table values are known yet, thanks to incomplete Intel documentation. - Change Pentium M 770 to 133 MHz system bus clock. - Fix rounding, so 133 MHz bus clock based CPU speeds like 1733, 1866, 2133 show up correcly, instead of 1729, 1862, 2128 as before. If you have any of the 7[1-7]0 models, and it doesn't get detected properly yet, please let me know. It might be you have a slightly different variant from what is in the tables. Tested by a lot of people; ok brad@, slap it in deraadt@
2006-05-20- fix monitor modeDamien Bergamini
- cosmetic in wpi_dma_contig_alloc()
2006-05-20- fix CCK mask for 802.11b/onlyDamien Bergamini
- add beacon command for future IBSS or HostAP mode support
2006-05-20Hints and commented out lines about future work.Miod Vallat
2006-05-20This file was not supposed to be imported initially, but it might as wellMiod Vallat
be a GENERIC-without-other-models support template (hence, for now, identical).
2006-05-20Introduce a ``struct board'' platform abstraction, to be able to supportMiod Vallat
more AViiON designs in the future. Heuristics to tell designs apart in aviion_identify() are likely too weak, but this is a start and AV400 still gets identified as AV400 (-:
2006-05-20Try and use the CPUCONFIG PROM call even if we did not detect 88204 CMMUs,Miod Vallat
recent PROM might have it implemented, and for 6:1 processor boards on 530 models, this is the only way we'll get to know the split scheme in use, for now.
2006-05-20Save the PROM VBR on startup, rather than assuming the PROM (and thus itsMiod Vallat
VBR) will always reside at the same address. Also, when querying the PROM for the memory size, ask it for the ``user'' size - i.e. with the PROM data area taken out.
2006-05-20- fix short slot time and short preamble settingsDamien Bergamini
- fix basic rates setting - fix check for WEP encryption (authreq frames might require encryption in shared mode) - cleanup a few things while i'm here
2006-05-20delete old #ifdef INSTALL chunkTheo de Raadt