summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Belately note default driver change for NVIDIA network adapters.yongari2007-07-061-0/+5
| | | | | | | | | | | | | | | | | | | | Requested by: Michael Plass < mfp49_freebsd at plass-family dot net> Approved by: re (hrs)
* | | | Take care that the input to setenv() may actually be a pointer straightscf2007-07-061-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from environ; make a copy before manipulating it and passing it to setenv(). Approved by: wes 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)
* | | | Forced commit to note a repo-copy of this file frombz2007-07-050-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | src/sys/i386/include/ so it will be available to all architectures once I4B compiles on those. Approved by: re (kensmith)
* | | | Fix remaining syntax errors (missing semicolons)peter2007-07-051-2/+2
| | | | | | | | | | | | | | | | | | | | Submitted by: Björn König <bkoenig@cs.tu-berlin.de> Approved by: re (kensmith, followup commits)
* | | | 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)
* | | | If the mech_type argument to gss_display_status is null, use a defaultdfr2007-07-051-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | mechanism. 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)
* | | | Remove reference to the old ftp-proxy implementation,delphij2007-07-051-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | which was replaced during the pf 4.1 import. 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-055-3/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | actor and partner peer info. Print out the active aggregator and per port data in verbose mode from ifconfig. Approved by: re (mux)
* | | | Remove the -DFAST_IPSEC from Makefiles again.bz2007-07-055-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was needed during the IPSEC->FAST_IPSEC->IPSEC transition period to not break the build after picking up netipsec header files. Now that the FAST_IPSEC kernel option is gone and the default is IPSEC again those defines are superfluous. Approved by: re (rwatson)
* | | | 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)
* | | | Add missing \ characters in PSEUDO() macro on arm. Oops.peter2007-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | Submitted by: cognet Approved by: re (kensmith)
* | | | kdump has knowledge of lseek() and mmap() arg decoding. Teach it aboutpeter2007-07-041-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | the new mmap and lseek syscalls. Approved by: re (kensmith)
* | | | Change the C wrappers for mmap/lseek/pread/pwrite/truncate/ftruncate topeter2007-07-049-9/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call the pad-less versions of the corresponding syscalls if the running kernel supports it. Check kern.osreldate once per program and cache the result to select the appropriate syscall. This maintains userland compatability with kernel.old's from quite a while back. Approved by: re (kensmith)
* | | | Classify mmap, lseek, pread, pwrite, truncate, ftruncate as pseudopeter2007-07-047-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syscalls, unless WITHOUT_SYSCALL_COMPAT is defined. The default case will have the .c wrappers still. If you define WITHOUT_SYSCALL_COMPAT, the .c wrappers will go away and libc will make direct syscalls. After 7-stable starts, the direct syscall method will be default. Approved by: re (kensmith)
* | | | Adjust the syscall stub macros to be consistent in their meaning. Inpeter2007-07-045-34/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | particular: SYSCALL() makes a syscall, with errno handling, and continues execution directly after the macro in the non-error case. RSYSCALL() is just like SYSCALL(), but returns after success. Both SYSCALL(name) and RSYSCALL(name) export "__sys_name" as a strong symbol, with "_name" and "name" as weak aliases. PSEUDO() is just like RSYSCALL(), but skipping the "name" weak alias. It still does "__sys_name" and "_name". Change i386 to add errno handling to PSEUDO. The same for amd64 and sparc64, with appear to have copied the behavior. ia64 was correct (as was alpha). Just remove some apparently unused variants of the macros. (untested!) I believe powerpc is correct. Fix arm to not export "name" from the PSEUDO case. Remove apparently extra unused variants. (untested!) The errno problem manifested on i386/amd64/sparc64 by having "PSEUDO" classified syscalls return without setting errno. eg: "addr = mmap()" could return with "addr" = 22 instead of setting errno to 22 and returning -1. Approved by: re (kensmith)
OpenPOWER on IntegriCloud