summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-01-05Now that all ethernet drivers that support flow control set MIIF_DOPAUSE,Mark Kettenis
stop doing it here. From brad@
2007-01-05For Yukon-based cards, pass MIIF_DOPAUSE to mii_attach().Mark Kettenis
From brad@
2007-01-05when i2c_dumping, instead of just skipping 0xff value registers,Theo de Raadt
skip the most common value read (which is often 0xff anyways)
2007-01-05syncTodd T. Fries
2007-01-05add Cannon CANOSCAN LiDE60, PowerShot A540, and Kensington Bluetooth devicesTodd T. Fries
ok brad@
2007-01-05Check that ucode size doesn't get exceeded when parsing for a firmwareMarcus Glocker
file. Spotted by deraadt@
2007-01-05macros for the bits in the ports CMD register. free %b fmt string for itDavid Gwynne
while im here.
2007-01-05If the firmware load routines fail, be sure the ucode gets freed.Marcus Glocker
2007-01-05Report about correct firmware filename if not found.Marcus Glocker
2007-01-05Prototypes spacing.Marcus Glocker
2007-01-05Make the upload of initialization values work again, after implementingMarcus Glocker
the single firmware file.
2007-01-05First shot of making the driver capable to parse several firmware filesMarcus Glocker
from one single file. Suggested and help by deraadt@
2007-01-05Don't pollute userspace with uneeded headers.Jonathan Gray
2007-01-05Remove unknown sensor that seems to always be fixed at 7Jonathan Gray
on all ThinkPad models.
2007-01-05Switch to indicator type for sensors with boolean values.Jonathan Gray
From Constantine A. Murenin
2007-01-05Change slightly to not need one of the softc members.Jonathan Gray
From Constantine A. Murenin
2007-01-05As first brought to my attention by Russel Sutherland, our deletion ofKenneth R Westerback
the mt_fileno and mt_blkno fields from the mtget struct was too hasty. Subsequent discussions with Kern Sibbold of the Bacula project revealed these are widely used by tape backup software on many unicies. The de facto standard is to return -1 if you can't determine the value. So add them back and always return -1 as their value. Should allow Bacula and similar software to at least compile while we investigate providing meaningful values. ok beck@
2007-01-05SyncKenneth R Westerback
2007-01-05More Zyxel Zydas wireless adapters.Kenneth R Westerback
from brad@
2007-01-04Remove some unreachable code.Mark Kettenis
ok jason@
2007-01-04use the right variable when finding a ports register window, not one thatDavid Gwynne
contains random garbage on the stack.
2007-01-04stash the dva for each command in the ccb, and program the hardware withDavid Gwynne
the dva of the rfis and command list.
2007-01-04fix up some port regs so their names are more in line with what is in theDavid Gwynne
spec.
2007-01-04allocate the dmamem that each port will need, and hopefully point ourDavid Gwynne
structs at all the right bits of it. the dma addresses arent taken care of yet, just the kva ones.
2007-01-04use ISSET instead of &, cos it looks cleanerDavid Gwynne
2007-01-04Revert 1.11 and load .shstrtab, as it is currently needed for /dev/ksymsMiod Vallat
proper operation.
2007-01-03In sk_marv_miibus_writereg, wait for busy flag to clear instead ofMark Kettenis
continuing when busy flag set.
2007-01-03shorten dmesg a bitMartin Reindl
2007-01-03Fix mbg comment: time base -> radio clocks.Marc Balmer
2007-01-03After the firmware has been loaded to the chip, read the exact firmwareMarcus Glocker
revision from the chip and print it in a debug line. Verify that the firmware has the right revision for us.
2007-01-03Remove two "unused" mbuf tag functions and kill the superfluous argumentClaudio Jeker
to the m_tag_delete_chain() function. m_tag_free() and m_tag_unlink() are only used by m_tag_delete() and I see no need to have these functions around. m_tag_delete_chain() has a second argument to specifiy a starting point from where the chain should be deleted. This feature is never used and is more complex because it is not possible to remove a SLIST element without doing a list walk. Instead use SLIST_FIRST() and SLIST_REMOVE_HEAD() to remove all items from the list. OK dhartmei@
2007-01-03M_DUP_PKTHDR() cleanup. On static mbufs M_DUP_PKTHDR() will leak mbuf tags.Claudio Jeker
See similar commit to dev/usb/if_rum.c for more info. With this commit all drivers have been switched away from the incorrect M_DUP_PKTHDR() usage. OK mglocker@
2007-01-03M_DUP_PKTHDR() cleanup. On static buffers M_DUP_PKTHDR() will leak mbuf tags.Claudio Jeker
See similar rum(4) commit for more info. OK mglocker@
2007-01-03Rename bcw_shm_write_4() to bcw_shm_ctl_word(). We need the originalMarcus Glocker
name space for the new routines.
2007-01-03also bail if sc_chipc is NULL; spotted by miodTheo de Raadt
2007-01-03mbg(4) cards with ASIC take the internal timestamp at the very moment theMarc Balmer
first command byte is written to the card over the pci bus. the driver has to capture this moment to get a precise timedelta. so make sure the code fragment that takes the internal timestamp and sends the command byte can not be interrupted. this function is called with a low frequency (currently 0.1 Hz). ok claudio, mglocker
2007-01-03Don't say 'Marvell' twice for each sk/msk device in dmesg. No functionalKenneth R Westerback
change. from brad@ ok mglocker@
2007-01-03Pretty printing of debug messages.Marcus Glocker
2007-01-03Don't wrap line before printing MAC address.Marcus Glocker
2007-01-03Change IF_DEQUEUE to IFQ_DEQUEUE for ALTQ, and some purely cosmeticGordon Willem Klok
0 -> NULL fixes. From brad@ Tested on PM 9600MP.
2007-01-03Avoid mixing of u_int* and uint* in the same code. uint* wins.Marcus Glocker
2007-01-03Replace bus_space_read_2() by the BCW_READ16 macro.Marcus Glocker
2007-01-03Replace bus_space_write_2() by the BCW_WRITE16 macro.Marcus Glocker
2007-01-03Replace bus_space_read_4() by the BCW_READ macro.Marcus Glocker
2007-01-03Replace bus_space_write_4() by the BCW_WRITE macro.Marcus Glocker
2007-01-03Oops forgot this bit as part of the cleanup for acpiac. From ConstantineMarco Peereboom
Murinen.
2007-01-03Spacing, comments.Marcus Glocker
2007-01-03Consistent naming for the sensors.Marco Peereboom
From Constantine Murenin <mureninc at gmail dot com>
2007-01-03Add first shot of the firmware upload. Tested on i386 and amd64.Marcus Glocker
2007-01-03Uncomment bcw_powercontrol_crystal_off() for now because it leads toMarcus Glocker
a panic later.