summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-29Rewrite the receive filter handling code and cleanup the ioctl bits.Brad Smith
Fixes a bug when going in and out of promiscuous mode results in the driver not disabling all multicast mode. Tested by kili@ jasper@
2013-01-29Add the PCI id for the D-Link DFE-520TX C1 board.Brad Smith
ok jsg@
2013-01-29remove the EXPECTED CHANGES TO THE BUS_SPACE FUNCTIONS section. talk isDavid Gwynne
cheap, if we wanted this stuff there'd be a diff by now. requested by miod@ and kettenis@
2013-01-29useless comments are uselessDavid Gwynne
2013-01-29bus_space_{read,write}_N dont take different arguments to their non rawDavid Gwynne
counterparts, so list them separately to the ones that do.
2013-01-29document bus_space_{read,write}_raw_N(). needs some polishing...David Gwynne
2013-01-29the bus_space api implies that there's a bus endianness that it willDavid Gwynne
swap for you to the hosts endianness. sometimes you dont want this hand holding and just want raw access to the registers. bus_space does have stuff to do this already, but they deal with buffers which can be awkward if you just want to get or set a single register. this adds the following to i386 and amd64: bus_space_read_raw_2() bus_space_read_raw_4() bus_space_read_raw_8() bus_space_write_raw_2() bus_space_write_raw_4() bus_space_write_raw_8() sparc64 already implements this, even though it wasnt part of the official api. how handy. i'll do other archs as i can. kettenis@ and miod@ seem ok with this
2013-01-29big pullup of bge to support the 5718 family of chips including theDavid Gwynne
5719 and 5720 chips that have popped up in a lot of new machines. this diff is largely a merge of the freebsd code. thanks to srebrenko sehic for providing me hardware to do the work on. also, a huge thanks to claudio for trawling through the diff to fix merge issues, understand the changes, and actually make it work. tested by sthen@ naddy@ jmatthew@ claudio@ jj@ and me tested chips include: bge0 at pci2 dev 3 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0 (0x2100): apic 2 int 8, address 00:30:48:59:52:44 brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0 bge0 at pci3 dev 0 function 0 "Broadcom BCM5723" rev 0x10, BCM5784 A1 (0x5784100): apic 2 int 18, address e4:11:5b:12:bd:d6 brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4 bge0 at pci3 dev 4 function 0 "Broadcom BCM5714" rev 0xa3, BCM5715 A3 (0x9003): ivec 0x795, address 00:14:4f:a9:34:90 brgphy0 at bge0 phy 1: BCM5714 10/100/1000baseT/SX PHY, rev. 0 bge0 at pci2 dev 0 function 0 "Broadcom BCM5761" rev 0x10, BCM5761 A1 (0x5761100): apic 2 int 18, address 00:10:18:4b:23:b4 brgphy0 at bge0 phy 1: BCM5761 10/100/1000baseT PHY, rev. 0 bge0 at pci0 dev 5 function 0 "Broadcom BCM5702X" rev 0x02, BCM5702/5703 A2 (0x1002): eb164 irq 2, address 00:10:18:00:98:e9 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 bge0 at pci2 dev 2 function 0 "Broadcom BCM5703" rev 0x00, BCM5702/5703 A2 (0x1002): ivec 0x7dc, address 00:14:4f:16:a0:23 and of course: bge1 at pci5 dev 0 function 0 "Broadcom BCM5720" rev 0x00, BCM5720 A0 (0x5720000), APE firmware NCSI 1.0.85.0: apic 0 int 16, address d4:ae:52:a7:05:38 brgphy1 at bge1 phy 1: BCM5720C 10/100/1000baseT PHY, rev. 0 bge2 at pci5 dev 0 function 1 "Broadcom BCM5720" rev 0x00, BCM5720 A0 (0x5720000), APE firmware NCSI 1.0.85.0: apic 0 int 17, address d4:ae:52:a7:05:39 brgphy2 at bge2 phy 2: BCM5720C 10/100/1000baseT PHY, rev. 0 either sthen@ or i will be around to handle any issues after this commit.
2013-01-28Correctly compute the relocation value of GOT_16[HL] relocations when they canMiod Vallat
be resolved at link time, such as when linking a binary from objects which have been compiled PIC (one such case being perl's miniperl). While there, borrow the check and error message for GOT_16[HL] with nonzero addend (which can only happen with badly crafted .s files and do not behave like one may naively think they do) from elf32-ppc.
2013-01-28Use symbolic_address_p() instead of simply checking whether GET_CODE() isMiod Vallat
SYMBOL_REF or LABEL_REF, when deciding to put #got_rel relocations. This allows (symbol + constant) to be correctly relocated when building PIC.
2013-01-28Document ulpt(4) firmware support for HP LaserJet printers.Stefan Sperling
2013-01-28Make ulpt(4) upload firmware into HP LaserJet printers which require firmware.Stefan Sperling
ok mpi@
2013-01-28use a stripped-down mta_envelope structure in the mta process.Eric Faurot
reduces memory footprint by a great deal when relaying lots of messages. ok gilles@
2013-01-28log sender address as "<>" when delivering bouncesEric Faurot
ok gilles@
2013-01-28allow lookups from backends in "accept for [...] virtual" contextGilles Chehade
2013-01-28ssl.c is a very old copy of smtpd's and didn't catch up the bump of theGilles Chehade
DH prime parameter. bring the update from smtpd... openldap client now accepts to connect to a ssl-enabled ldapd server, issue reported by Joel Carnat and Vadim Agarkov diff ok mikeb@ and martinh@
2013-01-28regenStefan Sperling
2013-01-28Add USB device IDs for HP LaserJet printers which require firmware.Stefan Sperling
ok sthen mpi
2013-01-28fix possible descriptor leak in mta_session when reusing session for manyGilles Chehade
messages
2013-01-28- introduce 'smtpctl trace lookup' to trace lookup processGilles Chehade
- improve logging of the transfer process trace by me, logging by eric
2013-01-28there is no untimeout function in our kernelDavid Gwynne
2013-01-28Add TX interrupt mitigation for vr(4) chips, loosely based on FreeBSD,Darren Tucker
but with tweaks so it works on 6105Ms like those found in pcengines alix and soekris 5501s. ok sthen@, help brad chris mikeb dlg jsing There may be other 610x chips that would benefit from the VR_Q_INTDISABLE quirk, please send me a dmesg if you can confirm it works.
2013-01-27The removal of the wrapping of PIC symbol references in an UNSPEC vectorMiod Vallat
caused the code responsible for adding the proper #got_rel relocation to the second part of the PIC symbol address load. Instead of using an UNSPEC for that purpose (which violates assumptions made by the MI code anyway), check for the the second operand of a LO_SUM being either a SYMBOL_REF or a LABEL_REF, to output the #got_rel relocation, and drop the remaining bits of UNSPEC handling.
2013-01-27Bump MAXTSIZ to 128 MB, some binaries are quite large.Federico G. Schwindt
Agreed with millert@ and guenther@
2013-01-27add a -u option to make it possible to build on an existing databaseMarc Espie
2013-01-27actually use the xrealloc() return value; spotted by xi.wang AT gmail.comDamien Miller
2013-01-27Make this PIC-aware.Miod Vallat
2013-01-27Correct the PBA size used for PCH adapters (26KB).Brad Smith
From FreeBSD ok jsg@
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
lease and reuse as required whenever resolv.conf is written. Use write_file() rather than a custom message/functions to write out resolv.conf.
2013-01-26Make sure new processes get a clean FPU configuration upon startup, byMiod Vallat
resetting the appropriate register in setregs(). Similar in spirit to what m68k does (restoring a null frame), and necessary since m88k doesn't do lazy fpu switching.
2013-01-26Make sure to flush I$ over the plt in case of non-lazy relocation as well.Miod Vallat
2013-01-26Forgot to remove one line in 1.2, in turn caused div() from libc to fail ifMiod Vallat
invoked with lazy binding.
2013-01-26Oops. Restore "no domain-name, no domain-name-seervers means don'tKenneth R Westerback
touch resolv.conf" behaviour.
2013-01-26Give an example of how to increase the state limit. The 10k limit is tooClaudio Jeker
small for production servers now that pf is on by default. OK phessler@
2013-01-26pesky quote!Jason McIntyre
2013-01-26tweak previous;Jason McIntyre
2013-01-26no longer usedGilles Chehade
2013-01-26users can now be looked up in tables, the user_backend code is no longerGilles Chehade
used and can bite the dust
2013-01-26user credentials are now looked up using the table API, the auth_backendGilles Chehade
code is no longer used
2013-01-26these are no longer used, maps were replaced with something betterGilles Chehade
2013-01-26update smtpd.conf, map API gone and replaced with table APIGilles Chehade
2013-01-26Sync with our smtpd repo:Gilles Chehade
* first bricks of ldap and sqlite support (not finished but both working) * new table API to replace map API, all lookups are done through tables * improved handling of temporary errors throughout the daemon * improved scheduler and mta logic: connection reuse, optimizes batches * improved queue: more tolerant to admin errors, new layout, less disk-IO * improved memory usage under high load * SSL certs/keys isolated to lookup process to avoid facing network * VIRTUAL support improved, fully virtual setups possible now * runtime tracing of processes through smtpctl trace * ssl_privsep.c sync-ed with relayd * ssl.c no longer contains smtpd specific interfaces * smtpd-specific ssl bits moved to ssl_smtpd.c * update mail address in copyright FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. smtpd.conf(5) simplified, it will require adaptations ok eric@
2013-01-26Do not allow stopping/restarting mountd using the rc.d(8) framework;Antoine Jacoutot
if there is need to send a SIGTERM to mountd(8), it should be done manually as there is too much involved with RPC daemons to make it automagic. ok beck@
2013-01-26remove ACSS, now that it is gone from libcrypto tooDamien Miller
2013-01-26remove ACSS, crank libcrypto major; ok markus@ deraadt@Damien Miller
2013-01-26Read /etc/resolv.conf.tail once on startup and save contents forKenneth R Westerback
application during subsequent resolv.conf building.
2013-01-26Whitespace tweaks.Kenneth R Westerback
2013-01-25Add _KERNEL guard to hide dprintf macro from userland.Brad Smith
ok millert@
2013-01-25Updates for beagle/panda work. OK patrick@ and miod@Brandon Mercer
2013-01-25Rename some functions and bump copyright.Antoine Jacoutot
No functionnal change.