summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-04Fix fallback from struct disklabel changes.Miod Vallat
2009-06-04obvious shrinkage.Owain Ainsworth
ok krw@, miod@.
2009-06-04add RCFLAGS to config test casesSimon Bertrang
ok henning@
2009-06-04detect & print the revision (rev. d, b) of rtl8187l chip using theMartynas Venckus
tx_conf register. if you get "not supported" in your dmesg; it's actually an (early) rtl8187b that's using rtl8187l id; so you should test the diff on tech@. otherwise; rtl8187b devices not matched yet.
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
bounds information, ie. the zone of the disk that OpenBSD can use. Have each pre-disklabel parser (MBR, DPME, or per-arch MD disklabel parsers) figure out this area and pass it up to userland. Then, delete all the same disk parsing code from disklabel(8) since the kernel passes it up. Lots and lots of - signs in the disklabel(8) code. Tested on as many platforms as possible, the fallout will be repaired as time goes on. To test, use disklabel -d <drive> and validate that the bounds do not overlap any boot blocks. This same information is used by disklabel -A... OK for the concept from krw, miod, and drahn
2009-06-04tiny tiny space nitThordur I. Bjornsson
2009-06-04- prepare for multiple revisions; urtw_lookup stuffMartynas Venckus
- fix some comments - remove var from a declaration; for consistency
2009-06-04fix two obvious typosIngo Schwarze
2009-06-04Implement the CBT (backward tab) sequence (\033[Z).Nicholas Marriott
2009-06-04set anonftp a little later; in autofetcher itself. after weMartynas Venckus
actually know that that login is not provided in url; and we should guess it. fixes a bug reported by halex@ where it tried to login as 'ftp' after unsuccessful logins; ok theo, halex@, krw@
2009-06-04- make comments understandable by lintMartynas Venckus
- reduce diff a bit
2009-06-04Don't assume that we can overwrite strings in the environment.Todd C. Miller
Someone may have passed a read-only string to putenv() (I'm looking at you cron!).
2009-06-04- move message types enum back to relayd.hEric Faurot
- use u_int16_t instead of enum imsg_type in imsg function prototypes requested by reyk@, ok pyr@
2009-06-04difs&eifs are 8187 regsMartynas Venckus
2009-06-04merge some individual SIS_SETBIT (done for natsemi chips only)Stuart Henderson
into sis_iff_ns() (called only for natsemi). from Brad.
2009-06-04- KNFMartynas Venckus
- nitemize
2009-06-04- update io functions to support indexMartynas Venckus
- add index macros
2009-06-04Remove support for non-ELF; it never existed for amd64.Mark Kettenis
2009-06-04- fix some commentsMartynas Venckus
- remove some unused fields from softc - spacing
2009-06-04spacingMartynas Venckus
2009-06-04instead of having some 'generic' data str. with "NB: don't use itMartynas Venckus
for tx" for some fields, and functions trying to do everything; split it into rx_data & tx_data. this way it's less error-prone. i've actually fixed a bug doing this. "please start comitting this stuff" jsg@
2009-06-04typo; init -> in itBret Lambert
ok thib@
2009-06-04add $OpenBSD$ tagThordur I. Bjornsson
2009-06-04i care about theo's hydration level. make him stop whining by documentingHenning Brauer
inet6/-inet6
2009-06-04trying to split some parts;Martynas Venckus
- tx_start never actually free'd mbufs; oops report/test/ok jsg@
2009-06-04allow IPvShit to be turned off completely per-interface.Henning Brauer
ifconfig em0 -inet6 deletes all v6 addresses including link-local and prevents new ones from being added. ifconfig em0 inet6 <addr> re-enables v6, brings the link local back and adds optional <addr> ok theo reyk
2009-06-04regenDamien Bergamini
2009-06-04don't trust the compiler to generate warnings we care about,Jonathan Gray
remove -Werror. ok ratchov@
2009-06-04the Sitecom WL-608 is a run(4) (although it is not 80.11n capable).Damien Bergamini
it has an RT2070 MAC/BB which is a (cheap) single-chip 802.11g solution. USB ID provided by Michael Kiesel.
2009-06-04with -d1, switch interactive mode off, so the screen isn't restoredStuart Henderson
immediately afterwards on a smart terminal. found by claudio@. "I like that diff" deraadt "yes please!" phessler "I think that makes sense" claudio
2009-06-04Add mpls and pflow to the list of supported address families, and sortMichael Knudsen
it. `sure' deraadt, `sure why not' claudio, minor complains about the sorting from phessler.
2009-06-04Canonicalise package names when comparing them against the package database.wcmaier
This unconfuses pkg_* when passed paths that, while valid, don't exactly match /var/db/pkg. For example, the following now works (note the double slash): $ pkg_info /var//db/pkg/somepackage Hasty tab-completers the world over shall rejoice. Tweaks and ok espie@.
2009-06-04the following:Bret Lambert
error = foo(); if (!error) bar(); is an alien construct; replace with one from this planet ok thib@
2009-06-04POOL_DEBUG and DIAGNOSTIC should be better friendsTheo de Raadt
2009-06-04Proper support for tab stops (\033H etc), using a bitstring(3). Makes anotherNicholas Marriott
vttest test happy.
2009-06-04Move code that logically belongs together to be together.Bret Lambert
ok thib@
2009-06-04Plug mbuf leaks in the DRC, when we reuse entries we didn'tThordur I. Bjornsson
free the mbufs the entry has (socket name, reply). Found with dlg@'s amazing mbuf debug diff, fix is based on the same thing in NetBSD (by yamt@netbsd.org). OK blambert@
2009-06-04revert previous commit for now since it won't play well with snmpd.Eric Faurot
ok pyr@
2009-06-04- Rewrite ioctl handling code and receive filter handling to cleanStuart Henderson
up the code a bit. - Remove unused sc_if_flags field. from Brad.
2009-06-04Add a resolv.conf option to specify the order in which getaddrinfoPierre-Yves Ritschard
PF_UNSPEC queries are made. While there change the default from inet6 first then inet4 to inet4 first then inet6, this prevents the many people with IPv4 only connectivity from constantly trying to contact IPv6 addresses, and also unbreaks many ports who don't use getaddrinfo right. (forgot the manpage bit).
2009-06-04Add a resolv.conf option to specify the order in which getaddrinfoPierre-Yves Ritschard
PF_UNSPEC queries are made. While there change the default from inet6 first then inet4 to inet4 first then inet6, this prevents the many people with IPv4 only connectivity from constantly trying to contact IPv6 addresses, and also unbreaks many ports who don't use getaddrinfo right. ok deraadt@, plenty of cheering in the room wrt the idea, not loud enough complaining from the v6 crowd.
2009-06-04Make the types of ber_read() decl match the prototype.Jonathan Gray
'looks good' pyr@
2009-06-04syncTheo de Raadt
2009-06-04make the imsg framework endian-safe so that it can also be usedEric Faurot
for network message passing. ok pyr@
2009-06-04the POOL_DEBUG checks needed to be more friendly with DIAGNOSTICTheo de Raadt
2009-06-04Even more KNF.Paul Irofti
2009-06-04Add myself to the copyright, suggested by marco@.Paul Irofti
2009-06-04KNF dammitMiod Vallat
2009-06-04move redundant bus_dmamap_sync calls outside an if/else block.Stuart Henderson
from Brad; ok chris@
2009-06-04Don't bother setting RB_SERCONS in boothowto since this flag is not usedMiod Vallat
by anything.