summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-09-03add missing initializerschristos
2006-09-03add missing declchristos
2006-09-03add missing initializerschristos
2006-09-03add missing initializerchristos
2006-09-03comment out unreachable codechristos
2006-09-03comment out unreachable code.christos
2006-09-03add missing initializerchristos
2006-09-03add missing initializerschristos
2006-09-03add missing initializerchristos
2006-09-03add missing decl.christos
2006-09-03add missing initializerchristos
2006-09-03- add missing initializerchristos
- comment out impossible comparison
2006-09-03add missing initializerchristos
2006-09-03add missing initializerschristos
2006-09-03- add missing initializerschristos
- remove impossible comparison
2006-09-03add missing initializerchristos
2006-09-03- comment out impossible comparisonschristos
- remove superfluous if statement
2006-09-03- add missing initializerchristos
- correct function decl.
2006-09-03add missing initializerchristos
2006-09-03add missing initializerschristos
2006-09-03use c99 initializerschristos
2006-09-03avoid empty if statementschristos
2006-09-02redo with c99 initializerschristos
2006-09-02- comment out impossible comparisonchristos
- add missing initializer
2006-09-02add missing initializerschristos
2006-09-02Remove unused variable to make this build again.xtraeme
2006-09-02add missing initializerchristos
2006-09-02- fix incomplete initializerchristos
- static goes first
2006-09-02static goes firstchristos
2006-09-02- fix incomplete initializerchristos
- static goes first
2006-09-02comment out unreachable codechristos
2006-09-02add missing initializerchristos
2006-09-02add missing initializerchristos
2006-09-02comment out impossible codechristos
2006-09-02add missing initializerschristos
2006-09-02Add missing initializerchristos
2006-09-01s/dreamcast/sh3/ to cover landisk.uwe
2006-09-01Use an unsigned int for the blksize on read_cd_capacity.matt
2006-09-01Remove the declaration of an unused local variable 'reg'.dyoung
2006-08-31Fix panic on reading/writing to a (raw) CD device and encountering anreinoud
error. It now correctly sets bp->b_resid to the full size of the buffer. The failed SCSI read/write command allways contains the complete buffer. When encountering a read (or write) error, the scsipi stack sets the xs->resid to zero since the command has been accepted by the drive. The scsi command set does not allow a partial read or write to be performed and will signal a success or an error.
2006-08-31Remove two spurious empty lines in functionsreinoud
2006-08-31Fix fencing bug on CD disk size; the comment was wrong, its the *length* ofreinoud
the device and since we count from zero its equal to the number of sectors and thus one higher than the last sector. This fixes the read/write problems on the (raw) device where the last sector was not readable/writable.
2006-08-31Per discussion on tech-kern and tech-userlevel, move the bit-twiddlingdyoung
macros, __BIT, __BITS, SHIFTIN, SHIFTOUT, and __arraycount() from lib/libkern/libkern.h to sys/cdefs.h. Add a __-prefix to SHIFTIN and SHIFTOUT, and add a manual page for the bit-twiddling macros, bits(3). Make the __BIT and __BITS macros "widthless," as best I can, by changing their type to uintmax_t from uint32_t. XXX The manual page lags this change by a bit. Define __PRIxBIT and __PRIxBITS printf(3) format strings.
2006-08-31Appease GCC4 by making /* NOTREACHED */ code return 0.matt
2006-08-30Add quirks for the Phobos GIO Fast Ethernet boards.rumble
2006-08-30Phobos boards (my G130 at least) have a non-standard srom layout. Try torumble
identify it and pull out the enaddr.
2006-08-30Make this compile again when TLDEBUG is defined.rumble
2006-08-30It seems that EHCI at least will complete a empty transfer withplunky
status == NORMAL_COMPLETION. Guard against that.
2006-08-30fix initializers.christos
2006-08-30fix incomplete initializer.christos