Tim Vanderhoek
4f91f96d90
Compile in the case that anyone ever actually uses LEAVE_FREE_CHARS.
...
It's not clear what this does nor why they would do it, but it should
compile, now. This could be a case where fixing the code so that it
compiles merely masks more devious dysfunctional behaviour.
2000-05-21 05:40:44 +00:00
Tim Vanderhoek
caa3136039
Uh, ya, sure this almost compiled for __bsdi__. NOT!
...
Note that __bsdi__s_/_i_/_os_/__ has moved this file to dev/ic/ and
has completely removed the non-compiling function from pdq_ifsubr.c and
has completely removed this function and placed it into netinet/if_ether.c
(if, in fact, it wasn't there the whole time). I was tempted to simply
remove this __bsdi__only__ function.
The function is arp_ifinit().
PR: kern/7903
2000-05-21 05:33:40 +00:00
Andrew Gallatin
2727ed91ae
Prevent vidcontrol -i from crashing alphas
...
Reported by: Christian Weisgerber <naddy@mips.inka.de>
Approved by: yokota@FreeBSD.ORG
2000-05-21 01:16:47 +00:00
Yoshihiro Takahashi
d2fce85dba
Oops, rman_get_bushandle() should be converted to rman_get_virtual()
...
if resources are mapped to memory.
2000-05-20 16:15:50 +00:00
David E. O'Brien
907774ca1a
Match the include protection with the install location.
2000-05-20 05:45:04 +00:00
Greg Lehey
ef033a65c7
Don't forget 'stripe' and 'mirror' commands when we turn off
...
debugging.
Submitted-by: mdodd
2000-05-20 03:21:50 +00:00
David E. O'Brien
74cf6eb61b
Rather than use a MD lpt.h, we now use the MI lptio.h.
2000-05-19 18:23:48 +00:00
Yoshihiro Takahashi
67d17d7279
Fixed to support PC-98.
2000-05-19 16:31:45 +00:00
Yoshihiro Takahashi
d475e057f4
Use the rman_get_bustag() and rman_get_bushandle() functions.
2000-05-19 16:19:51 +00:00
Yoshihiro Takahashi
7c14268dbd
Supported the mss on PC-98 and Sound Blaster 98.
...
Submitted by: "T.Yamaoka" <taka@windows.squares.net>
2000-05-19 15:41:52 +00:00
Seigo Tanimura
07a1e11832
Add RSS0262 - 5614Jx3[G] V90+K56Flex Modem.
...
PR: kern/18168
Submitted by: Tony Voet <voet@engineer.com>
2000-05-19 10:02:15 +00:00
Seigo Tanimura
026957712e
Add ACH2012 - 5634BTS 56K Video Ready Modem.
...
PR: kern/17351
Submitted by: Eric D. Futch <efutch@nyct.net>
2000-05-19 03:41:22 +00:00
Doug Rabson
2e9a65c474
Print the correct value for the map type on a verbose boot.
...
PR: kern/18662
Submitted by: tamaru@ap.t.u-tokyo.ac.jp
2000-05-18 20:28:15 +00:00
Seigo Tanimura
ca39cee745
Add a couple of new PnP IDs.
...
o OZO800f - Zoom 2812 (56k Modem)
PR: kern/18603
Submitted by: Matt Loschert <loschert@servint.com>
o DAV0336 - DAVICOM 336PNP MODEM
PR: kern/18608
Submitted by: Martijn Plak <martijn@be3.com>
2000-05-18 02:06:24 +00:00
Paul Richards
4d2d5ed69d
Replace all references to lnc_softc with a typedef.
2000-05-16 02:30:53 +00:00
Paul Richards
33f38fdc5b
Update copyright.
2000-05-16 02:18:49 +00:00
Paul Richards
9b55e84fec
Re-organise lnc driver in preparation for newbusifying it.
2000-05-16 02:08:04 +00:00
Cameron Grant
942aeab734
fix a speed bug that nobody noticed
2000-05-15 02:10:27 +00:00
Nick Hibma
998b1e80fc
Sync with NetBSD:
...
Add quirks for self-powered hubs that are not.
2000-05-14 19:51:38 +00:00
Nick Hibma
eafdcd5886
Sync with NetBSD:
...
Textual changes.
2000-05-14 19:44:24 +00:00
Nick Hibma
4b268ed3a9
Sync with NetBSD:
...
Make the behaviour more similar to what the Microsoft uhub driver
does.
2000-05-14 19:39:10 +00:00
Paul Richards
7e84fbbdfd
Unchain lnc include files.
2000-05-14 19:14:41 +00:00
Paul Richards
2e054666c6
Fix includes to build from /sys/dev/lnc
2000-05-14 18:21:39 +00:00
Nick Hibma
23f027a0bc
Sync with NetBSD:
...
Add USB_SET_REPORT ioctl.
Add FIOASYNC, TIOCSPGRP ioctl.
Change some debugging output
2000-05-14 17:43:59 +00:00
Paul Richards
e30ce7f9de
Sync with the BPF and BRIDGE changes.
2000-05-14 17:37:34 +00:00
Nick Hibma
bb05811e6a
Sync with NetBSD:
...
Mostly textual changes.
Set configuration to 0 (reset all endpoints) on open.
2000-05-14 17:33:26 +00:00
Nick Hibma
90c5668bca
Make some if's cleaner. Add a define for the Zip 250.
2000-05-14 17:25:33 +00:00
Matthew Dillon
3d27b606b7
Zero out the uio structure prior to initializing it. A garbage (uninitialized)
...
proc pointer is believed to have been the cause of panics related to vnconfig
on top of intr-optioned NFS mounts.
Reported by: "Sean O'Connell" <sean@stat.Duke.EDU>
2000-05-14 17:15:58 +00:00
Nick Hibma
dd90ae7a87
Sync with NetBSD:
...
Fix the saving of the location at pop properly. Only save the position
and not the complete locator.
(sp? s/sav/saf/g if appropriate)
2000-05-14 16:59:31 +00:00
Nick Hibma
128aa3af3c
Change Lennart's e-mail address.
2000-05-14 16:43:10 +00:00
Doug Rabson
5c885c3f83
Port ppc driver to alpha.
...
Submitted by: Andrew M. Miklic <miklic@ibm.net>
2000-05-14 13:47:57 +00:00
Archie Cobbs
2e2de7f23f
Move code to handle BPF and bridging for incoming Ethernet packets out
...
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.
The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.
The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.
Reviewed by: freebsd-net
2000-05-14 02:18:43 +00:00
Doug Rabson
ff13eb73c1
Use bus_space for all register accesses.
2000-05-13 18:47:24 +00:00
Jonathan Lemon
c9e55fc6d1
This driver attempts to cache mbufs, and re-use them as headers instead
...
of using the MGETHDR macro all the time. When an mbuf is reused as a
header, initialize csum_flags to zero as well, so the delayed_checksum
call woks properly.
Debbugging work done by: jmas
2000-05-12 16:48:59 +00:00
Yoshihiro Takahashi
bb7d754339
Use bus_space stuff except where it needs high performance.
...
Reviewed by: bde
2000-05-12 12:37:28 +00:00
John Baldwin
6492f6750d
Only display the 'Disable PNP-OS BIOS option' message on the i386 arch.
...
Alpha's don't have a PNP BIOS option.
Reviewed by: n_hibma
2000-05-11 20:17:28 +00:00
Duncan Barclay
753c209eb7
Newbusify resource allocation.
...
Have OLDCARD version of the remapping.
Remove BPF conditionals.
Remove ISA/3.x stuff and add -current stuff.
2000-05-11 18:55:38 +00:00
Duncan Barclay
fa1b5c0246
Remove ISA/3.x stuff and add -current stuff
...
Use device_printf.
2000-05-11 18:53:50 +00:00
Duncan Barclay
144f532f95
Use device_printf.
2000-05-11 18:53:10 +00:00
Greg Lehey
de8ac2cfda
Allow revive block sizes up to MAXPHYS.
...
Change struct plex to reflect changes to parity maintenance functions.
2000-05-11 07:27:27 +00:00
Greg Lehey
9b8f5e3c15
Rewrite parity maintenance functions.
...
revive_block: Correct bug introduced in revision 1.25 which caused
Add fields to vinum_ioctl_msgexcessive concurrent requests followed by
system death.
2000-05-11 07:26:33 +00:00
Greg Lehey
78f25040af
Cosmetics.
2000-05-11 07:25:36 +00:00
Greg Lehey
a0f3ae4e0b
vinum_scandisk: Correct error recovery if a configuration is munged.
2000-05-11 07:24:41 +00:00
Greg Lehey
ef554da97d
Correct a comment.
2000-05-11 07:23:50 +00:00
Greg Lehey
fb4c9c3fa8
Change parity maintenance ioctls.
...
Add fields to vinum_ioctl_msg.
2000-05-11 07:23:16 +00:00
Greg Lehey
14d0b39e73
Change linkage to parity maintenance operations.
2000-05-11 07:22:18 +00:00
Duncan Barclay
9fad5d9072
Move a couple fo things around to be nicer for -current
...
Move to using /sys/dev/ray for driver
Backport -current ray_res code - most are stubs.
Make ray_attr stuff look like currents layout.
Make attribute memory access use a macro and ripple through.
Drop FIXUP as we always need it
2000-05-10 21:19:38 +00:00
Duncan Barclay
a10fc605e1
Move a couple fo things around to be nicer for -current
...
A few more () in macros
Make attribute memory access use a macro and ripple through.
Drop FIXUP as we always need it
2000-05-10 21:18:01 +00:00
Duncan Barclay
2c3bbebe5a
Add a STOP debug flag.
...
Fix DHEX8 to use SRAM_READ_1
Tweak printing statements to generate less diffs with -current version.
Adda a few () around macro variables.
2000-05-10 21:15:43 +00:00
Nick Hibma
de7a23ed98
Regen.
2000-05-09 20:45:14 +00:00