summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* | uhub already does the printing and naming of a device, so don't do itimp2007-07-061-5/+1
| | | | | | | | | | | | again here for compat drivers. Approved by: re@ (blanket)
* | Fix some problems with lock_profiling in sx locks:attilio2007-07-063-23/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adjust lock_profiling stubs semantic in the hard functions in order to be more accurate and trustable - Disable shared paths for lock_profiling. Actually, lock_profiling has a subtle race which makes results caming from shared paths not completely trustable. A macro stub (LOCK_PROFILING_SHARED) can be actually used for re-enabling this paths, but is currently intended for developing use only. - Use homogeneous names for automatic variables in hard functions regarding lock_profiling - Style fixes - Add a CTASSERT for some flags building Discussed with: kmacy, kris Approved by: jeff (mentor) Approved by: re
* | I4B header files were repo-copied from sys/i386/include/ tobz2007-07-066-36/+0
| | | | | | | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. We no longer need these "glue" files. Reminded by: nyan Approved by: re (kensmith)
* | Bump version after repo-copy of I4B headers.bz2007-07-061-1/+1
| | | | | | | | | | | | | | The headers will now be installed to include/i4b/ and no longer to include/machine/. Approved by: re (kensmith)
* | I4B header files were repo-copied from sys/i386/include/ tobz2007-07-066-1433/+0
| | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. Approved by: re (kensmith)
* | I4B header files were repo-copied from sys/i386/include/ tobz2007-07-0684-195/+195
| | | | | | | | | | | | | | | | | | sys/i4b/include/ so they will be available to all architectures once I4B compiles on those. Adapt #include paths. Approved by: re (kensmith)
* | I did not intend to turn -Werror on for pc98. Refine the test forpeter2007-07-061-1/+1
| | | | | | | | | | | | turning it on for i386. Approved by: re (rwatson, followup)
* | Turn on -Werror for sparc64 and sun4v.peter2007-07-061-1/+2
| | | | | | | | Approved by: re (rwatson)
* | Fix warnings.peter2007-07-062-3/+3
| | | | | | | | | | | | | | | | | | nxge: cast page size fragments down to (int). If the vm's demand paging PAGE_SIZE is ever too big for that, we've got far bigger problems. ofw: move va_start() a little earlier. gcc-4.2 doesn't like us modifying the last arg before the va_start(). Approved by: re (rwatson)
* | Fix warning - add missing #includepeter2007-07-061-0/+1
| | | | | | | | | | Submitted by: mjacob Approved by: re (rwatson)
* | re(4) devices requires an external EEPROM. Depending on models ityongari2007-07-062-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | would be 93C46(1Kbit) or 93C56(2Kbit). One of differences between them is number of address lines required to access the EEPROM. For example, 93C56 EEPROM needs 8 address lines to read/write data. If 93C56 recevied premature end of required number of serial clock(CLK) to set OP code/address of EEPROM, the result would be unexpected behavior. Previously it tried to detect 93C46, which requires 6 address lines, and then assumed it would be 93C56 if read data was not expected value. However, this approach didn't work in some models/situations as 93C56 requries 8 address lines to access its data. In order to fix it, change EEPROM probing order such that 93C56 is detected reliably. While I'm here change hard-coded address line numbers with defined constant to enhance readability. PR: 112710 Approved by: re (mux)
* | Space cleanupdelphij2007-07-0524-163/+163
| | | | | | | | Approved by: re (rwatson)
* | ANSIfy[1] plus some style cleanup nearby.delphij2007-07-0527-800/+384
| | | | | | | | | | | | Discussed with: gnn, rwatson Submitted by: Karl Sj?dahl - dunceor <dunceor gmail com> [1] Approved by: re (rwatson)
* | Added comments eplaining the requirement for device crypto with IPSECgnn2007-07-051-3/+5
| | | | | | | | Approved by: re
* | Remove unused variable from pf_subr.c to make it -Werror buildable.mlaier2007-07-052-2/+2
| | | | | | | | Approved by: re (kensmith)
* | Prefer device_printf to printf + device_get_nameunit. This savesimp2007-07-051-17/+14
| | | | | | | | | | | | about 100 bytes. Approved by: re (blanket)
* | MFp4: Fixing IPW_DEBUG enabled builds by converting the last piece ofavatar2007-07-051-1/+2
| | | | | | | | | | | | | | ic->ic_des_essid to ic->ic_des_ssid[0]. Reviewed by: sam Approved by: re (kensmith)
* | In preparation for 7.0 privilege cleanup, clean up style:rwatson2007-07-052-87/+32
| | | | | | | | | | | | | | | | | | - Sort copyrights by date. - Re-wrap, and in some cases, fix comments. - Fix tabbing, white space, remove extra blank lines. - Remove commented out debugging printfs. Approved by: re (kensmith)
* | Adopt snp to the destroy_dev_sched() KPI after reverting of destroy_dev()kib2007-07-051-8/+9
| | | | | | | | | | | | | | to not call destroy_dev_sched(). Tested by: Peter Holm Approved by: re (kensmith)
* | Revert destroy_dev() to the state before destroy_dev_sched() was introduced.kib2007-07-051-8/+2
| | | | | | | | | | | | | | Attempt to spawn destroy_dev_sched() from it causes inadmissible races. Requested by: tegge Approved by: re (kensmith)
* | Properly unlock mutex before returning. There was a slight mishapariff2007-07-051-1/+3
| | | | | | | | | | | | | | during last major locking cleanup. Reported by: Thierry Herbelot <thierry@herbelot.com> Approved by: re (mux)
* | Turn on -Werror for i386 kernel builds.peter2007-07-051-1/+1
| | | | | | | | Approved by: re (rwatson)
* | Allow the LACP state to be queried from userland which at the moment is thethompsa2007-07-054-0/+88
| | | | | | | | | | | | | | actor and partner peer info. Print out the active aggregator and per port data in verbose mode from ifconfig. Approved by: re (mux)
* | Remove netkey directory from cscope/TAGs generation and replacebz2007-07-052-3/+7
| | | | | | | | | | | | | | | | | | | | it with netipsec now that KAME IPsec is gone. While here add missing netinet6 directories. Add comments about the ports needed to be able to run those targets. Reviewed by: philip Approved by: re (rwatson)
* | Fix a build breakage as result of disabling parts of I4B.bz2007-07-052-17/+17
| | | | | | | | | | | | | | | | Check for (temporary gone) kernel options to be defined before using them. Reported by: peter Approved by: re (rwatson)
* | Quiet framelen uninitialized warning. I think it was a false alarm.peter2007-07-051-1/+3
| | | | | | | | | | | | | | If check_fhdr() returns false, the frame_ok variable should protect any meaningful evaluations of framelen. Approved by: re (rwatson)
* | Quiet warnings. I believe gcc is incorrect about these.peter2007-07-051-1/+1
| | | | | | | | Approved by: re (rwatson)
* | __packed has no effect on u_int8_t's except to cause a warning (andpeter2007-07-051-1/+1
| | | | | | | | | | | | never has had any effect). Approved by: re (rwatson)
* | Turn -Werror back on for amd64 for kernel builds.peter2007-07-051-0/+2
| | | | | | | | Approved by: re (rwatson)
* | Compile pf/pf_subr.c and netnatm/cc_conn.c without -Werror for the timepeter2007-07-052-3/+3
| | | | | | | | | | | | being. Approved by: re (rwatson)
* | Quiet warnings. These do not appear to be actually used uninitialized,peter2007-07-051-1/+1
| | | | | | | | | | | | | | but gcc's optimizer isn't smart enough to see that. Pre-initializing seems harmless enough. Approved by: re (rwatson)
* | Fix a stray splx() that caused a new warning.peter2007-07-051-2/+2
| | | | | | | | Approved by: re (rwatson)
* | Initialize DWBuf[3].peter2007-07-051-0/+1
| | | | | | | | Approved by: re (rwatson, blanket)
* | Fix a bunch of warnings due to a missing forward declaration of a struct.peter2007-07-051-0/+1
| | | | | | | | Approved by: re (rwatson)
* | Prefer device_printf to printf("%s: ...", device_get_nameunit()). Onimp2007-07-051-30/+23
| | | | | | | | | | | | amd64, we save about 240 bytes (this is about 20 per instance). Approved by: re (blanket)
* | Prefer device_printf to printf("%s:...", device_get_nameunit(),...);imp2007-07-052-61/+51
| | | | | | | | | | | | This saves ~300 bytes for uvscom.c and ~100 for uvisor.c Approved by: re (blanket)
* | Fix 'assignment used as truth value' warningpeter2007-07-051-1/+2
| | | | | | | | Approved by: re (rwatson)
* | Temporarily turn nowerror on for i386 and amd64 pmap.c. I'd like to studypeter2007-07-052-2/+2
| | | | | | | | | | | | exactly what effect the options cause to the code with gcc these days. Approved by: re (rwatson)
* | Fix a second warning, introduced by my last "fix". I committed the wrongpeter2007-07-051-2/+2
| | | | | | | | | | | | | | diff from the wrong machine. Pointy hat to: peter Approved by: re (rwatson - blanket, several days ago)
* | Fix cast-qualifiers warning when INET6 is not presentpeter2007-07-053-4/+3
| | | | | | | | Approved by: re (rwatson)
* | Fix bad function type passed to destroy_dev_sched_cb().peter2007-07-051-1/+2
| | | | | | | | Approved by: re (rwatson)
* | Remove pad argument from ftruncate wrapper. Oops.peter2007-07-051-1/+0
| | | | | | | | Approved by: re (kensmith)
* | Add quirks, derived from the linux quirks table for:imp2007-07-052-5/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Adonics Cable 205 o Aiptek PocketCAM 3Mega o Belkin USB2SCSI o Casio QV DigiCam o CCYU EasyDisk ED1064 o Desknote UCR-61S2B o Epson Stylus Photo 875DC Card Reader o Epson Stylus Photo 895 Card Reader o Feiya 5-in-1 Card Reader o Hitachi Dvd-CAM DZ-MV100A Camcorder o HP CD-WRiter+ CD-4e o Insystem Storage Adapter v2 o Kyocera Finecam S3x o Kyocera Finecam S4 o Kyocera Finecam S5 o Kyocera Finecam L3 o Lexar USB CF Reader o MindAtWork Digital Wallet o Minolta Dimage F300 o Minolta Dimage E223 o Minsumi USB Fdd o Netac USB-CF-Card o NetChip USB Clik! 40 o Onspec MDCFE-B USB CF Reader o Onspec SIIG/Datafab Memory Stick + CF Reader/Writer o Onspec Datafab-based Reader o Onspec PNY/Datafab CF+SM Reader o Onspec SimpleTech/Datafab CF+SM Reader o Onspec MDSM-b Reader o Onspec USB To CF + SM Combo (LC1) o Onspec ImageMate SDDR55 o Panasonic LS-120 Camera o Samsung Techwin Digimax 410 o Shuttle eUSB SmartMedia / CompactFlash Adapter o Skanhex MD 7425 Camera o Skanhex SX 520z Camera o Sony Memorystick NW-MS7 o Sony Portable USB Hardrive V2 o Sony Memorystick PEG N760c o Sony Memorystick MSC-U03 o TREK/IBM USB memory key o Trumpion T33520 USB Flash Card Controller o Trumpion MP3 Player o Vivtar Vivicam 35Xx o WinMaxGroup USB Flash Disk 64M-C o Zoran Digital Camera EX-20 DSC and maybe a few others... Submitted by: Vaidas Damosevicius and flz PR: 79893 Reviewed by: njl, flz Approved by: re (blanket)
* | Add support for Western Digital MyBook external enclosures. They needimp2007-07-052-0/+10
| | | | | | | | | | | | | | | | this quirk to work. Submitted by: Dierk Sacher PR: usb/99419 Approved by: re (blanket)
* | Don't add the 'pad' argument to the mmap/truncate/etc syscalls.peter2007-07-043-5/+0
| | | | | | | | | | Submitted by: kensmith Approved by: re (kensmith)
* | Add compat6 wrapper code for mmap/lseek/pread/pwrite/truncate/ftruncate.peter2007-07-041-0/+83
| | | | | | | | Approved by: re (kensmith)
* | Regenerate after mmap/lseek/etc syscall changespeter2007-07-044-102/+177
| | | | | | | | Approved by: re (kensmith)
* | Add i386 emulation wrappers for mmap/lseek/etc. These use COMPAT6, sopeter2007-07-041-6/+22
| | | | | | | | | | | | | | you must use the already existing, already in generic, COMPAT_FREEBSD6 kernel option for running old 32 bit binaries. Approved by: re (kensmith)
* | Add freebsd6_ wrappers for mmap/lseek/pread/pwrite/truncate/ftruncatepeter2007-07-043-3/+78
| | | | | | | | Approved by: re (kensmith)
* | Bump version for new mmap/lseek/etc syscallspeter2007-07-041-1/+1
| | | | | | | | Approved by: re (kensmith)
OpenPOWER on IntegriCloud