Commit Graph

38022 Commits

Author SHA1 Message Date
peter
4990fa28f8 Update one set of comments.. s/so_q0/so_incomp/ and s/so_q/so_comp/ (that's
incomplete and complete connections I think)
1999-05-10 18:15:40 +00:00
phk
c54537a0af correct params for sndmmap(). Don't bogo-initialize fields we don't
understand.
1999-05-10 18:13:30 +00:00
phk
563f9088be Use NODEV instead of -1 1999-05-10 18:10:08 +00:00
truckman
df85d5a50f Fix descriptor leak provoked by KKIS.05051999.003b exploit code.
unp_internalize() takes a reference to the descriptor.  If the send
fails after unp_internalize(), the control mbuf would be freed ophaning
the reference.

Tested in -CURRENT by: Pierre Beyssac <beyssac@enst.fr>
1999-05-10 18:09:39 +00:00
phk
15ee2ac7e1 Don't go looking for weird #includes if major isn't a macro. 1999-05-10 18:06:37 +00:00
dfr
e65cf80c48 Add missing suspend/resume methods. 1999-05-10 17:56:23 +00:00
n_hibma
76b6e78158 Remove hack to accept French spelling of METHOD (METHODE) 1999-05-10 17:45:49 +00:00
peter
8b9aff36cb Move the mfs_getimage() prototype to mfs_extern.h duplicating it
everywhere.
1999-05-10 17:12:45 +00:00
dfr
1a3fdb21c5 * Augment the interface language to allow arbitrary C code to be 'passed
through' to the C compiler.
* Allow the interface to specify a default implementation for methods.
* Allow 'static' methods which are not device specific.
* Add a simple scheme for probe routines to return a priority value. To
  make life simple, priority values are negative numbers (positive numbers
  are standard errno codes) with zero being the highest priority. The
  driver which returns the highest priority will be chosen for the device.
1999-05-10 17:06:14 +00:00
dfr
951dcb68ce Superceded by makedevops.pl 1999-05-10 16:45:19 +00:00
peter
74d7d37703 Serves me right for doing this by inspection and then a build afterwards
on a remote machine. Sigh..
1999-05-10 16:36:42 +00:00
peter
8863119084 Fix 'assignment used as truth value' on alpha. 1999-05-10 16:06:32 +00:00
peter
8ddb1cf981 Don't do a nested extern for mfs_getimage() 1999-05-10 16:04:52 +00:00
peter
64e45eb951 Explicit brace to avoid nested else warnings 1999-05-10 16:02:11 +00:00
peter
4db7e673e1 Explicit braces to avoid nested else warnings 1999-05-10 16:00:56 +00:00
peter
6b994ad743 Add some explicit parens to avoid && within || warnings 1999-05-10 16:00:01 +00:00
peter
da8fe7f50a Fix warnings (unused vars) 1999-05-10 15:54:58 +00:00
peter
4689c04c59 Fix warnings (unused vars, long != int in printf) 1999-05-10 15:53:33 +00:00
peter
4e2b663a13 Fix warnings (I hope) 1999-05-10 15:51:23 +00:00
peter
2b57f94733 Give 'i' a type (int). 1999-05-10 15:48:01 +00:00
peter
9c6402325d Unused variable 1999-05-10 15:46:38 +00:00
des
b4d631fafd MFS: indent-assisted style cleanup. 1999-05-10 15:25:50 +00:00
peter
ccd104020f #include "pci.h" for the build dir, not <pci.h> 1999-05-10 14:12:26 +00:00
n_hibma
24c9203db7 Remove VIA USB controller (was '#if 0' out), to make sure
no one adds it back. Chip handled by uhci_pci.c .
1999-05-10 14:07:14 +00:00
dfr
56809581f0 Adjust console stuff now that makedev is no longer a macro. 1999-05-10 14:01:35 +00:00
peter
61eefd2271 Don't assume branch heads are alive.. (related to previous change to the
older 1.9.26 baseline)
1999-05-10 13:49:51 +00:00
dfr
400f185dc4 Remove obsolete 'config kernel' line. 1999-05-10 13:30:51 +00:00
peter
5e793df8f3 Ack! I deleted "struct", not "const".. Oh boy...
Submitted by:	jkh
1999-05-10 12:38:41 +00:00
bde
f36324ceec [Forgot to commit this in the batch a few days ago.]
Fixed profiling of elf kernels.  Made high resolution profiling compile
for elf kernels (it is broken for all kernels due to lack of egcs support).

Renaming of many assembler labels is avoided by declaring by declaring
the labels that need to be visible to gprof as having type "function"
and depending on the elf version of gprof being zealous about discarding
the others.  A few type declarations are still missing, mainly for SMP.

PR:		9413
Submitted by:	Assar Westerlund <assar@sics.se> (initial parts)
1999-05-10 10:51:25 +00:00
bde
fcb48c4f62 Detect PCI device IDs for latest boards. Simplified the ID comparisons.
Submitted by:	Ivan Passos <ivan@cyclades.com> (rewritten by me)
1999-05-10 10:23:40 +00:00
obrien
f2521ffec6 Move sysctl/ to src/sbin/ where it now belongs.
Repository copied by:	Peter
1999-05-10 10:17:22 +00:00
roger
97ed47bb7b Support LifeView FlyVideo 98 cards. Use EEPROM for card autodetection.Use
bttv's audio mux values.

Automatically locate the EEPROM i2c address and read the subsystem_vendor_id
from EEPROM and not the PCI registers.

Add NSMBUS checks around smbus/iicbus i2c bus code

Add GPIO mask for the audio mux to each card type.
Add CARD_ZOLTRIX and CARD_KISS from mailing list searches.

Tested by: Paul Reece <paul@fastlane.net.au>,
           Ivan Brawley <brawley@internode.com.au> and
           Gilad Rom <rom_glsa@ein-hashofet.co.il>
1999-05-10 10:10:13 +00:00
roger
7e5bffb837 Update card type to support GPIO mask
Add NSMBUS checks around smbus/iicbus i2c bus code.
1999-05-10 10:08:50 +00:00
roger
bead07be56 Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code. 1999-05-10 10:08:05 +00:00
kato
2f539e7c63 Fixed for COM_MULTIPORT option. Members flags and unit should be
obtained via appropriate functions.
1999-05-10 09:37:37 +00:00
kato
207e053c4b Sync with sys/isa/sio.c revision 1.240. 1999-05-10 09:14:40 +00:00
kato
587230ffc7 Sync with sys/i386/isa/isa_dma.c revision 1.3. 1999-05-10 09:09:08 +00:00
kato
7c1cf9c963 Sync with sys/i386/isa/if_ed.c revision 1.152. 1999-05-10 09:06:12 +00:00
kato
1d28eadf89 Sync with sys/i386/isa/clock.c revision 1.133. 1999-05-10 09:05:01 +00:00
kato
760f60999f Sync with sys/i386/conf/options.i386 revision 1.113. 1999-05-10 09:03:10 +00:00
kato
daf0ddd98e Sync with sys/i386/conf/majors.i386 revision 1.74. 1999-05-10 09:02:23 +00:00
kato
9f913e6d7a Sync with sys/i386/conf/files.i386 revision 1.239. 1999-05-10 09:01:19 +00:00
kato
7ba8af237c Sync with sys/i386/conf/GENERIC and Makefile.i386 revisions 1.169 and
1.152, respectively.
1999-05-10 09:00:29 +00:00
imp
3c4e6466a8 Add update on the status of new bus.
Add libcam ABI change warning.
1999-05-10 05:34:32 +00:00
phk
073fc64b49 Fix mknod which overloaded a little too much on "minor" and "major" 1999-05-10 04:50:27 +00:00
bde
5f5a6c78e8 Fixed disordering in previous commit. 1999-05-10 03:51:07 +00:00
peter
50db322904 Make corresponding changes to match config update 1999-05-10 03:02:22 +00:00
peter
932a086d1a Apparently we need to define rootdev and dumpdev here now. This is
(obviously) not finished yet.
1999-05-10 02:56:38 +00:00
peter
e3eacaf57f Understand 'config kernelname' and pretend it was a
'makeoptions KERNEL=kernelname'.  Warn about any trailing stuff as it's
not handled here.  This is a simple bandaid, hopefully to head off some
complaints from certain people.
1999-05-10 02:42:58 +00:00
obrien
e38e2b0426 MFS. 1999-05-10 00:54:18 +00:00