Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-23 | according to the Linux 8139cp driver the TTTech MC322 adapter uses | Brad Smith | |
the 8139C+ chipset, so attach with re(4) instead of rl(4). ok dlg@ | |||
2006-05-22 | Check for NULL cookies before calling hook_disestablish(). Just in case | Kenneth R Westerback | |
the establish calls were bypassed or failed. ok mpf@ | |||
2006-05-22 | - fix and prettify SIOP_DEBUG | Martin Reindl | |
- print device name on request sense failure ok krw@ | |||
2006-05-22 | Attach routines can fail before calling *hook_establish(), and they | Kenneth R Westerback | |
often rely on the detach routine for cleanup. So be consistant and careful by checking for a NULL hook before calling *hook_disestablish in detach routines. ok mickey@ brad@ dlg@ | |||
2006-05-22 | Add support for raid 50 and 10 in bio. | Marco Peereboom | |
2006-05-22 | Warn the user if the powerhook could not be established during attach. For | David Gwynne | |
extra correctness check that it is set before trying to disestablish it at detach. Whether you can detach a pci ohci controller is a separate issue. Inspired by krw@'s change in ohci.c 1.67 for PR #5128. ok krw@ | |||
2006-05-22 | Don't call powerhook_disestablish if there is no powerhook to disestablish. | David Gwynne | |
This is possible if ohci_init fails in attach. Similar to krw@'s fix in ohci.c 1.67 for PR #5128. ok krw@ | |||
2006-05-22 | Expunge all #if defined(__NetBSD__) and #if defined(__FreeBSD__) crud. | Kenneth R Westerback | |
Misused in many cases anyway. ok dlg@ | |||
2006-05-22 | move VM_NFREELIST out of ifdef kernel for now | Theo de Raadt | |
2006-05-22 | Don't call shutdownhook_disestablish() unless there is a shutdownhook | Kenneth R Westerback | |
established. Should fix PR #5128. ok dlg@ | |||
2006-05-22 | In wdcprobe(), directly invoke wdc_do_reset() instead of using the reset | Miod Vallat | |
reset function pointer, as this can cause a NULL pointer dereference on some systems. | |||
2006-05-22 | Add mail box to mfi_mgmt to handle sub commands more gracefully. | Marco Peereboom | |
Remove some debug crud that snuck in the TEST_UNIT_READY case. Finish other half of BIOCVOL primitive. Add several structures to fill out the BIOCVOL primitive. | |||
2006-05-22 | Add first half of BIOCVOL primitive. | Marco Peereboom | |
2006-05-21 | Do a giant flush of disk and raid-card memory when SYNCHONIZE_CACHE is called. | Marco Peereboom | |
2006-05-21 | Fix AV_IEN() computation for cpu #2 and #3. | Miod Vallat | |
2006-05-21 | pretty up some debug statements. | Marco Peereboom | |
2006-05-21 | Add bio alarm function. | Marco Peereboom | |
Redo mfi_mgmt to deal with zero data commands. | |||
2006-05-21 | kvtopte() is not used anymore. | Miod Vallat | |
2006-05-21 | Replace lockmgr with rwlock; help and ok marco@ | Aleksander Piotrowski | |
2006-05-21 | Add generic management function. | Marco Peereboom | |
Redo ccb_state flags so that we can actually sleep on it. Redo mfi_get_info to use new mgmt function. Add rw_locks for mgmt interface. Make BIOCINQ dynamic. | |||
2006-05-21 | move the allocation of ccb out of ami_attach into a function of its own | David Gwynne | |
(aptly called ami_alloc_ccbs). allocate the ccbs after the firmware has been queried, but still for the full number of AMI_MAXCMDS. ok krw@ | |||
2006-05-21 | some diskless pointers; ok deraadt | Jason McIntyre | |
2006-05-21 | move variable declarations at the start of a block in ami_attach to the top | David Gwynne | |
of the function and unindent that block. ok krw@ | |||
2006-05-21 | during attach use a static, spartan ccb with ami_poll to query to firmare | David 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-21 | the 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-21 | Add alarm function opcodes. | Marco Peereboom | |
2006-05-21 | Move common definitions shared by the various 88100-based designs to their | Miod Vallat | |
own header file, and slowly make most of the code board-independent. No functional change. | |||
2006-05-21 | account 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-21 | Oops, helps to use the right structure field. | Marco Peereboom | |
Use actual nr of physical disks present. | |||
2006-05-21 | Add first BIOCINQ primitive. | Marco Peereboom | |
2006-05-21 | remove a chunk of code that was ifdefed out due to compat issues with | David 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-21 | replace lockmgr with rwlock. | David Gwynne | |
2006-05-21 | The SCSI command on the passthrough bus is handed to the firmware via a | David 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-21 | Check 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_direct | Brad Smith | |
- fix _bus_dmamap_load_(uio/mbuf)_direct panic messages. - s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message. From NetBSD | |||
2006-05-21 | Fix a couple of comments. | Brad Smith | |
From NetBSD | |||
2006-05-21 | Pay attention to BUS_DMA_READ; don't need to allocate a spill | Brad Smith | |
page if it is set. From NetBSD | |||
2006-05-21 | Implement dmamap_load_uio for SGMAPs. | Brad Smith | |
From NetBSD | |||
2006-05-21 | recognise the perc4/dc firmware | David Gwynne | |
2006-05-20 | also attach to Broadcom BCM5706C and BCM5708C PHY. | Brad Smith | |
2006-05-20 | It is possible for a sensor to be detached and freed while it is being | David 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-20 | Let the bootloader pass esym to the kernel, and let the kernel make good use | Miod Vallat | |
of this if it finds out it has not been directly loaded by the PROM; not tested yet. | |||
2006-05-20 | Detect BOOTARG_BOOTMAC coming from PXE; search for interface and attempt | Theo 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-20 | handle BOOTARG_BOOTMAC from boot block; tested by reyk | Theo de Raadt | |
2006-05-20 | Lower load address 128KB, to cope with the PROM data area on 8MB machines. | Miod Vallat | |
2006-05-20 | push a BOOTARG_BOOTMAC (what PXE says is the MAC address of the interface | Theo de Raadt | |
we are booting from) out towards the kernel; tested by reyk crank the version too | |||
2006-05-20 | add bios_bootmac_t and BOOTARG_BOOTMAC | Theo de Raadt | |
2006-05-20 | No need to define two page freelists since we'll only populate one; tested | Miod Vallat | |
by robert@ | |||
2006-05-20 | Crank VM_MAX_ADDRESS to 4GB minus one page now that pmap will accept it. | Miod Vallat | |
2006-05-20 | Make 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. |