summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-05-19disable azalia here too.Brad Smith
2006-05-19no, azalia may not be on. Why? You did not ASK ME, brad. And thereTheo de Raadt
is an outstanding PR which makes it obvious that it should not be enabled yet!
2006-05-18Just finished testing mfi on amd64 so add it here too.Marco Peereboom
2006-05-18paramter -> parameterMiod Vallat
2006-05-18Enable mfi.Marco Peereboom
2006-05-18Remove some debug cruft and pretty up some debug messages.Marco Peereboom
2006-05-18Enable detection of SpeedStep support for the VIA Esther CPU's. NoteDimitry Andric
this won't identify the possible speeds yet. Add some KNF while there. ok deraadt
2006-05-18Kill splbio/splx in the interrupt handler.Marco Peereboom
2006-05-18And we have lift off! Was able to create a filesystem and write to theMarco Peereboom
filesystem. Collapse both completion routines into one. Fixup scsi error reporting in the completion routine.
2006-05-18some devices can do weird things upon a warm reboot so add a shutdownJolan Luff
hook which explicitly resets and stops the device; fixes pr/5001 ok dlg@
2006-05-18Add a duplicate check for our own advertisements. This is necessaryMarco Pfatschbacher
for dumb non simplex interfaces, that receive packets they've just sent. Fixes bug 5121. OK deraadt@, mcbride@
2006-05-18Use standard swap16() and swap32() functions instead of abusing <db.h> to getMiod Vallat
similar M_xx_SWAP().
2006-05-18Move otherwise unused <machine/vid.h> to stand/Miod Vallat
2006-05-18enable azalia(4) so we can get some more feedback.Brad Smith
2006-05-18disable the Analog Devices AD1981HD codec widget init routine for now.Brad Smith
2006-05-18de-staticBrad Smith
2006-05-18Test the state of a disk *after* spinning it up and not before. ThisKenneth R Westerback
prevents the issuing of sizing inquiries to non-existant or non-responsive devices like empty slots on a USB card reader. Also try to avoid *extremely* unlikely loop of scsi_start() commands, by not using sd_interpret_sense() until after the disk is spinning. ok dlg@
2006-05-17cf_unit should have a value between 0 and cd_ndevs. So set cf_unit to 0 whenKenneth R Westerback
cd_ndevs is set to 0. "No kidding!" deraadt@ "Seems to make sense to me." beck@ "Seems right." miod@
2006-05-17Add completion routines.Marco Peereboom
Fix some bugs inside the interrupt handler.
2006-05-17Add mfi_get_info to obtain all kinds of fun information from the fw.Marco Peereboom
Print out whole info structure when debug is enabled. Add a nice print with useful info during attach.
2006-05-17Fix static array overrun.Brad Smith
Coverity ID: 916 From FreeBSD
2006-05-17regenBrad Smith
2006-05-17sync handling of fatal firmware errors w/ wpi(4)Damien Bergamini
2006-05-17remove 10GbE from the Xframe entries.Brad Smith
2006-05-17tweak the dmesg printing a bit.Brad Smith
ok marco@
2006-05-17mega-commit of unrelated changes:Damien Bergamini
- factor out contiguous DMA allocations (the same code was duplicated in several places and was sometimes incorrect) - s/EIO/ETIMEDOUT where it makes sense - s/memset/bzero/g - don't always bzero the ring descriptors - scan channels 1-14 instead of 1-13 - remove the auhmode stuff since mgt frames are sent by net80211 - remove the SCANALL flag since the f/w notifies us when it switches to another channel - don't re-enable interrupts on f/w panics - KASSERT that commands fit in a descriptor
2006-05-17Refactor scsi path so that we can have a single sgl function for io and non-ioMarco Peereboom
traffic. Redo parameters on functions that were passing too many parameters around.
2006-05-17missing rtlabel support in pf_addr_wrap_neq()Henning Brauer
PR5122 Jann Fischer <jfi@openbsd.de>, thanks!
2006-05-17Don't cast malloc()Pedro Martelletto
2006-05-17Delay board type retrieval.Miod Vallat
2006-05-17Detach children devices in reverse order. This gives better display, andKenneth R Westerback
allows cf_unit to be decremented correctly. 'put it in' deraadt@ "i think it's good' tedu@
2006-05-17change ktr_len to size_t. put ktr_type after comm for better alignmentTed Unangst
ok deraadt
2006-05-16Recognize braindead 6:1 CMMU to CPU ratio configurations (which we do notMiod Vallat
support yet), as found e.g. on some 530 models.
2006-05-16Print a final line before asking the PROM to halt or reboot, for theMiod Vallat
abruptness of its prompt almost looks like the kernel died horribly.
2006-05-16Nuke some { }Marco Peereboom
2006-05-16Move !xs->data case into mfi_start_xs.Marco Peereboom
Return proper sense data when a polling command fails.
2006-05-16Crank bootblocks version for today's changes.Miod Vallat
2006-05-16Nuke whitespace at EOLMiod Vallat
2006-05-16Make standalone binaries compile with -Wall -WerrorMiod Vallat
2006-05-16Cleanup of mvme88k standalone code, with rewritten startup code withMiod Vallat
fewer assembly statements and much less magic, a few display artefacts removed, and private definitions moved out of the main prom.h.
2006-05-16Fix some more htole32 screw-ups.Marco Peereboom
Colapse all little SCSI functions into a single generic one. Fix a bug in the SGE calculation. This brings the driver up to post: mfi0 at pci12 dev 14 function 0 "Dell PERC SAS" rev 0x00: Dell PERC 5/e irq 5 scsibus3 at mfi0: 2 targets sd1 at scsibus3 targ 0 lun 0: <DELL, PERC 5/E Adapter, 1.00> SCSI5 0/direct fixed sd1: 237824MB, 237824 cyl, 64 head, 32 sec, 512 bytes/sec, 487063552 sec total sd2 at scsibus3 targ 1 lun 0: <DELL, PERC 5/E Adapter, 1.00> SCSI5 0/direct fixed sd2: 34176MB, 34176 cyl, 64 head, 32 sec, 512 bytes/sec, 69992448 sec total
2006-05-16Network bootloader for AV400 series, will load a native kernel. Still someMiod Vallat
rough edges to sort out, but enough to successfully boot a kernel. Will not work on series 530 yet.
2006-05-16Labeling was the wrong way around. Make 5e 5i and vice versa.Marco Peereboom
2006-05-16the ifp->if_linkstatehooks may be NULL, add an extra check to avoidReyk Floeter
possible kernel panic. this happened to me by using tun(4) in layer 2 mode (link0 flag) as a trunk port for testing.
2006-05-16Fix some htole32 I missed.Marco Peereboom
Sprinkle more debug.
2006-05-16- pcbflags is not modified in pcb_(dis)connect, so there's noMarkus Friedl
need to save/restore it. - inp->inp_laddr should be set _before_ calling pcb_disconnect(). otherwise pcb_disconnect() calls pcb_rehash() with the old laddr. [ currently this is not a problem since the hash ignores laddr ] tested by pedro
2006-05-16tpyoMichael Shalayeff
2006-05-16Add struct fpreg.Mark Kettenis
2006-05-16Fix tsleep wait channel name; ok damien@Miod Vallat
2006-05-16fix commentsMichael Shalayeff