summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cast pointers to uintptr_t/intptr_t instead of to u_long/long,bde1998-07-1529-93/+93
| | | | | | | respectively. Most of the longs should probably have been u_longs, but this changes is just to prevent warnings about casts between pointers and integers of different sizes, not to fix poorly chosen types.
* Add support for the AVer Media range of cards.sos1998-07-142-18/+26
|
* Revert "POSIX saved uids change". seteuid(2) is not POSIX, andghelmer1998-07-141-3/+2
| | | | | | FreeBSD does not have _POSIX_SAVED_IDS enabled. Thanks to Warner Losh and Ollivier Robert for pointing this out, and Bruce Evans for explaining the role of _POSIX_SAVED_IDS.
* Provide meaningful errno value on error returnache1998-07-141-5/+17
|
* Add missing register name defines.msmith1998-07-141-1/+7
|
* Print pointers using %p instead of attempting to print them bybde1998-07-141-12/+13
| | | | | | casting them to long, etc. Fixed some nearby printf bogons (sign errors not warned about by gcc, and style bugs, but not truncation of vm_ooffset_t's).
* Print pointers using %p instead of attempting to print them bybde1998-07-141-14/+17
| | | | | | | | | casting them to long, etc. Fixed some nearby printf bogons (sign errors not warned about by gcc, and style bugs, but not truncation of vm_ooffset_t's). Use slightly less bogus casts for passing pointers to ddb command functions.
* Don't pretend to support ix86's with 16-bit ints by using longsbde1998-07-143-24/+24
| | | | | just to ensure 32-bit variables. Doing so broke i386's with 64-bit longs.
* If object pointers need to be cast to [unsigned] integers, then castbde1998-07-141-3/+3
| | | | | | | to [u]intptr_t instead of to [u_]long. Don't cast pointers to integers just to do ordinary pointer arithmetic on them, especially when the casts use gcc's feature of casting lvalues.
* Avoid some casts of pointers to integers (of possibly different sizes).bde1998-07-141-7/+7
|
* ioctl() request args are unsigned longs, so don't attempt to storebde1998-07-141-3/+4
| | | | | | them as ints. Among other bugs, doing so at best caused benign overflow followed by fatal sign extension on machines with 32-bit ints and 64-bit longs.
* Make `dump' exit codes confirm to manual page.jkoshy1998-07-143-16/+17
| | | | | PR: 5346 Style-check-by: bde
* Add $Id$.jkoshy1998-07-142-0/+2
| | | | | PR: 7251 Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>
* Add $Id$.jkoshy1998-07-142-0/+2
| | | | PR: 7249
* Inserted missing .Bl in the FILES section.des1998-07-141-1/+2
| | | | Unknowingly pointed out by: Snob Art Genre <benedict@echonyc.com>
* I checked in the wrong version yesterday . The correct version is 1.38ahasty1998-07-142-24/+64
| | | | Amancio
* Don't pretend to support ix86's with 16-bit ints and 32-bit registersbde1998-07-141-4/+4
| | | | | by using longs just to ensure 32-bit variables. Long variables don't fit in 32-bit registers on ix86's with 64-bit longs.
* Changed to the C9x draft spelling of the (unsigned) integral typebde1998-07-149-68/+61
| | | | | | | | suitable for holding object pointers (ptrint_t -> uintptr_t). Added corresponding signed type (intptr_t). Changed/added corresponding non-C9x types for function pointers to match. Don't use nonstandard types to implement these types, and don't comment on them in <machine/types.h>.
* Add list of Compaq and Olicom ethernet cards that work with thewpaul1998-07-141-0/+6
| | | | ThunderLAN driver to the 'supported hardware' section.
* Add US Mirror site to MASTER_SITE_KDE.se1998-07-131-1/+2
|
* Declare pointers to CSR register space to be volatile. This seems towpaul1998-07-132-161/+274
| | | | | | | | | | | | | | | | | | | | | | | | cure the problems I was having with interrupts not being acknowledged on time. This fixes a problem I observed where starting two ping -f processes at 10Mbps would cause an adapter check due to TX GO commands being issued before TXEOC interrupts were being acked. Also fix a small problem with tl_start(): the mechanism I was using to queue new packets onto the TX chain was bogus. Change adapter check handler so that it resets card state after tl_softreset() is stored. Moved all EEPROM-related macro definitions into if_tlreg.h. Don't allow an autoneg session to start until after the TX queue has been drained, and don't transmit anything until after the autoneg session is complete. Also add support for two more Compaq ThunderLAN-based cards, and three cards from Olicom which also use the ThunderLAN chip. The only thing different about the Olicom cards is that they store the station address at a different location within the EEPROM.
* Removed a bogus forward struct declaration.bde1998-07-131-4/+4
| | | | Cleaned up ifdefs.
* Fixed some longs that should have been fixed-sized types.bde1998-07-132-4/+4
|
* Fixed overflow and sign extension bugs inbde1998-07-131-4/+4
| | | | | | | | | | | `len = min(so->so_snd.sb_cc, win) - off;'. min() has type u_int and `off' has type int, so when min() is 0 and `off' is 1, the RHS overflows to 0U - 1 = UINT_MAX. `len' has type long, so when sizeof(long) == sizeof(int), the LHS normally overflows to to the correct value of -1, but when sizeof(long) > sizeof(int), the LHS is UINT_MAX. Fixed some u_long's that should have been fixed-sized types.
* Declare tcp_seq and tcp_cc as fixed-size types. Half fixed typebde1998-07-132-5/+5
| | | | | | mismatches exposed by this (the prototype for tcp_respond() didn't match the function definition lexically, and still depends on a gcc feature to match if ints have more than 32 bits).
* Declare id_mask as a fixed-size type.bde1998-07-131-2/+2
|
* Declare n_short, n_long and n_time as fixed-sized types. Don't ifdefbde1998-07-131-15/+4
| | | | n_long or n_short specially for alphas.
* Don't attempt to optimize the space allocated for bpf headers ifbde1998-07-131-2/+3
| | | | | | | | sizeof(struct bpf_hdr) > 20. 20 is normal on 32-bit systems with 32-bit alignment, but we still assume that the last 2 bytes of the struct are unnecessary padding on such systems. On systems with 64-bit longs, struct timeval is bloated to 16 bytes, so bpf headers certainly don't fit in 18 bytes.
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-1318-108/+117
|
* Sync with sys/i386/isa/fd.c and wd.c revisions 1.117 and 1.172,kato1998-07-133-17/+9
| | | | respectively.
* SLICE probing becomes asynchronous. It can now be triggered byjulian1998-07-1310-944/+713
| | | | | | | | interupt level events. This needs a lot of cleanup, but has been working here for a month or two.. originally needed for CAM integration but that hasn't happenned yet. The probing state machines for each handler should be replaced by a more generic state-service. It's still quite messy in there..
* Fixed printf format errors.bde1998-07-131-4/+5
|
* Added macros __printflike() and __scanflike() to <sys/cdefs.h>.bde1998-07-137-30/+43
| | | | | | | | Use them to `make gcc -Wformat' check formats for all printf-like and scanf-like functions in /usr/src except for the err()/warn() family. err() isn't quite printf-like since its format arg can legitimately be NULL. syslog() isn't quite printf-like, but gcc already accepts %m, even for plain printf() when it shouldn't.
* Fix braino in last commit.julian1998-07-131-1/+1
| | | | Not even sure how I got this commit in as it didn't even compile.
* Improved Hauppauge's tuner detection and bt878 supportahasty1998-07-134-74/+292
| | | | Amancio
* Forgot to remove base64.c from SRCS in the Makefile.des1998-07-121-1/+1
|
* Base64 code (and the MIT copyright) moved to http.cdes1998-07-123-180/+223
| | | | | FTP STORe and APPEnd added. FTP proxy support added (untested).
* Remove unused member reselet from struct tstamp.se1998-07-121-3/+2
|
* Remove printing of variable "reselect" which is not really maintainedse1998-07-121-4/+3
| | | | | | | | by the NCR driver. Fix use of "regtime" which became an int (had been a time_t). Submitted by: bde
* Fix size of time stamps (had been time_t before the variable "time" wasse1998-07-121-26/+29
| | | | | | | | | | | | hidden). Now "ticks" are used, which are 4 byte, not 8 byte in size. The size mismatch did not matter due to sufficient padding at the end of the structure that holds time stamps (there is an unused member). The fix suggested by Bruce Evans used "sizeof (ticks_t)", but I prefer to use "sizeof ticks", and didn't seem to object in his last mail on this topic. Submitted by: bde
* Show on-screen ``phase'' logging and try to negotiatebrian1998-07-122-2/+6
| | | | | nameserver IPs by default at install time. Approved by: jkh
* Set the minimum malloc bucket to 5. In a DIAGNOSTIC kernel, the extradfr1998-07-121-1/+5
| | | | data in struct freelist is larger than 16 bytes on the alpha.
* Point at the correct disk location for alpha disklabels.dfr1998-07-123-9/+9
|
* Make sure the packet is aligned correctly for the alpha in if_simloop.dfr1998-07-121-2/+13
|
* Initialise all the fields separately in vattr_null since on the alphadfr1998-07-122-16/+34
| | | | they are not all the same width.
* Overhaul the spl system so that it actually works properly.dfr1998-07-129-67/+101
|
* Don't bother calling pmap_emulate_reference() from cpu_fork(). It isn'tdfr1998-07-123-33/+3
| | | | needed and it panics a DIAGNOSTIC kernel.
* Define option DEC_EB164dfr1998-07-122-2/+4
|
* Add entry for prom console.dfr1998-07-121-2/+3
|
* Add some bits and pieces for my test box.dfr1998-07-122-2/+22
|
OpenPOWER on IntegriCloud