summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-08-28Get MAC address from the OpenFirmware local-mac-address property on sparc64.Mark Kettenis
Needed to support onboard bge(4)'s on Sun machines which don't seem to be fitted with the EEPROM that normally contains the MAC address. ok brad@
2006-08-28move the firmware messaging under NBIO since it's only used by bio.David Gwynne
2006-08-28async events defines and structsMichael Shalayeff
2006-08-28revert flags usage commits. too close to release. will go in post release ↵Brad Smith
instead. requested by deraadt@
2006-08-28make a define for dealing w/ the big bit (0x80); no func changeMichael Shalayeff
2006-08-28properly detect failed drives and do not crash bioctl; krw@ testingMichael Shalayeff
2006-08-28Fix manual media types by always leaving the PHY in autoneg mode but adjustingBrad Smith
the ANAR as appropriate. Derived from a diff for FreeBSD; same technique used by the Linux r8169 driver.
2006-08-28bzero() the sensor memory after allocating it.Kenneth R Westerback
ok marco@
2006-08-28set error and break -- not return an error before spl is set back in ioctl! ↵Michael Shalayeff
found by krw@
2006-08-28add a BGE_JUMBO flag.Brad Smith
2006-08-28turns out the volume info contains a bitmap of failed physdisks in it, soDavid Gwynne
i can just check if this is non zero to see if a volume is degraded. this means i dont have to pull the raid info page to find failed disks in the volume inquiry.
2006-08-28Dell PCI vendor subid.Brad Smith
2006-08-28Set the BGE_NO3LED flag to properly adjust the PHY LED mode if attachingBrad Smith
to either a BCM5700 or BCM5701 chip and have the Dell PCI vendor subid. The appropriate code has been in brgphy for 2 years, now the bge(4) driver will use it. Also found in the Broadcom bcm5700 and Linux tg3 drivers.
2006-08-27display proper volume device name in the volume line (; krw@ testingMichael Shalayeff
2006-08-27it works a little better like this.Brad Smith
2006-08-27pack several boolean fields into the existing bge_flags field.Brad Smith
2006-08-27basic monitoring and management support. there are a few more things to fix ↵Michael Shalayeff
but fetching array status and rebuild/blinking works on compaq/hp boxen; testing and some fixes by krw@
2006-08-27sigh, this is annoying. it appears that the arc firmware doesnt care if aDavid Gwynne
volume is degraded, just if it is working or not. if a volume is degraded, its still online, so we have to go look for missing disks. if a disk has been replaced, but it is yet to be rebuilt, the firmware kindly tells us that it needs rebuilding. we can figure out if a volume is degraded using these two facts.
2006-08-27try to get the status of the volume out of the arc firmware and intoDavid Gwynne
bioctl output. this is actually a bit of a struggle since the firmware doesnt represent these states well at all. im only showing the obvious ones: online, init, rebuild, and offline. i have no idea how they tell if a volume is degraded.
2006-08-27if a disk dissapears out of a raidset, then the raid info will list its idDavid Gwynne
as 0xff, and the command to query that phys disk will fail and cause the ioctl to get stuck. so if the disk id is 0xff, fake an offline disk on another bus since bioctl doesnt know how to show that properly.
2006-08-27little nitDavid Gwynne
2006-08-26Remove ifdef/ifndef __OpenBSD__ maze so only what we use is left.Jonathan Gray
Convert to ansi function declarations while here. No binary change.
2006-08-26Cleanup. Add config flag to make fans blast at full speed.Mark Kettenis
ok drahn@
2006-08-25update for the Triware to 3ware renaming and use pci_matchbyid().Brad Smith
2006-08-25regenBrad Smith
2006-08-25- rename TRIWARE to 3WAREBrad Smith
- add the 3ware 9500 series RAID PCI id - improve existing 3ware PCI id entries
2006-08-25Disable interrupts during the attach of UHCI and EHCI controllers. IfChristopher Pascoe
we do not, a shared interrupt which arrives while we are initialising the host controller may cause a NULL pointer dereference. tested joris, ok! dlg
2006-08-25fill in the controllers name in the inq ioctl. spotted by deraadt@David Gwynne
2006-08-25don't need to clear if_timer during attach.Brad Smith
2006-08-25only write to the RMAC_CFG_KEY register for the Xframe chipset.Brad Smith
2006-08-25Allow the driver to compile with MSK_DEBUG.Brad Smith
From riz@NetBSD
2006-08-24Add some first PCI glue.Marcus Glocker
2006-08-24s/IEEE80211_MTU_MAX/IEEE80211_MAX_LEN/ in my previous commit.Damien Bergamini
2006-08-24dont print debug output when the scsi completion path returns withDavid Gwynne
something other than SCSI_OK. for example, SCSI_SENSE is returned when the device has sense data. this code was left in to help debug problems in the field, but noones had any problems with mpi apart from it being too chatty when a device returns sense data...
2006-08-24show the firmware revision of the disks.David Gwynne
2006-08-24report the size of the disks and volumes correctly.David Gwynne
2006-08-24Be sure to print device name in debug messages, removeJonathan Gray
a few surplus dmesg messages while here.
2006-08-24when shutting down, wrap the variable manipulation in splusb() so weirdJason Wright
stuff doesn't happen if we're interrupted.
2006-08-24too much copy and paste. report raid 1 correctly.David Gwynne
2006-08-24ignore passthru volumes, struct bioc_vol isnt smart enough to know whatDavid Gwynne
they are.
2006-08-24figure out the raid level of the volume.David Gwynne
2006-08-24oops, im unlocking too oftenDavid Gwynne
2006-08-24a start at the BIOC INQ, VOL, and DISK ioctls for fetching informationDavid Gwynne
about the disks that are configured on the controller. so far this fetches the right volumes and disks in each volume, but doesnt properly fill in the status, the size of both the volumes and disks, the type of raid, or the firmware version of the physical disks.
2006-08-24regenGordon Willem Klok
2006-08-24Add vendor "miro computer products AG" and device MiroVIEDO DC20 plusGordon Willem Klok
three others found at pcidatabase.com.
2006-08-24regenBrad Smith
2006-08-24add the Epson Perfection 1670 and Stylus CX3650.Brad Smith
From FreeBSD
2006-08-23- fall back to 1Mbps if tx rate is returned as zero. avoids divide by zero. ↵Niall O'Higgins
should never happen, but sometimes it does on my amd64. ok damien@
2006-08-23Protect scsi_done() with splbio(), discussed with and okay dlg@, marco@Pedro Martelletto
and fgsch@, uwe@ time-out :(
2006-08-23the maximum MTU allowed for IEEE802.11 is 2290 which is greater thanDamien Bergamini
MCLBYTES (usually 2048). allocate tx xfer buffers of IEEE80211_MTU_MAX instead of MCLBYTES. rx buffers are still limited to MCLBYTES though.