Poul-Henning Kamp
91266b96c4
Isolate the Timecounter internals in their own two files.
...
Make the public interface more systematically named.
Remove the alternate method, it doesn't do any good, only ruins performance.
Add counters to profile the usage of the 8 access functions.
Apply the beer-ware to my code.
The weird +/- counts are caused by two repocopies behind the scenes:
kern/kern_clock.c -> kern/kern_tc.c
sys/time.h -> sys/timetc.h
(thanks peter!)
2000-03-20 14:09:06 +00:00
Peter Wemm
0ae2f9bf04
A fairly simple newbusification of if_de
2000-03-20 09:18:46 +00:00
Peter Wemm
d213a95368
Unused definitions.
2000-03-20 08:21:52 +00:00
Peter Wemm
56dac036b6
Bandaid for src/sys/modules which broke world
2000-03-20 01:22:27 +00:00
Peter Wemm
80060e8897
Connect the ISA and PCI compatability shims to an option. In this case
...
it's options COMPAT_OLDISA and COMPAT_OLDPCI. This is meant to be a
fairly strong incentive to update the older drivers to newbus, but doesn't
(quite) leave anybody hanging with no hardware support. I was talking with
a few folks and I was encouraged to simply break or disable the shims but
that was a bit too drastic for my liking.
2000-03-19 13:07:12 +00:00
Nick Hibma
e5399702e8
Print the PCI resources even if they are disabled. This shows more clearly
...
when the BIOS is forgetful about initialising the USB controllers.
2000-03-18 19:18:36 +00:00
Bill Paul
827a61b63d
Update Tigon firmware yet again, this time to version 12.3.20.
2000-03-18 01:30:36 +00:00
Matt Jacob
17d75f8ecb
Alpha 8200 port: Until we fix things better, determine which alpha CPU
...
platform we're running on so we know how many bits to reserve at the top
end for the 'hose' value. It turns out that there's *just* enough room
to support all possible hoses on TurboLaser.
Reviewed by: gallatin@freebsd.org , dfr@free3bsd.org
2000-03-15 23:50:31 +00:00
Nick Hibma
d0ba6675ce
Add an ID for the SiS 5571.
...
Remove the unnecessary use of parent.
2000-03-15 22:26:17 +00:00
Peter Wemm
931fe729ca
Remove left over pci_ide* after wd removal.
2000-03-15 21:58:27 +00:00
Poul-Henning Kamp
5111e26e96
Updates for new FALC chips and other nits.
...
(And try to make it first post-freeze commit :-)
2000-03-13 09:13:36 +00:00
Chris Piazza
4951dddb33
Recognize newer NVidia graphics cards. (GeForce and Quadro families)
...
Approved by: jkh
2000-03-12 01:24:15 +00:00
Mike Smith
510a809e64
Teach the 'dc' driver how to pick up settings left over by the
...
SRM on alpha systems. This is an expedient if not entirely
elegant solution to the problem.
Submitted by: gallatin
Approved by: jkh
2000-03-11 05:20:56 +00:00
Robert Watson
c8cf61e182
Introduce ethernet bridge support for if_dc
...
Approved by: jkh
2000-03-09 19:28:19 +00:00
Poul-Henning Kamp
1285d5557c
Fix a initialization bug.
...
Report xmit queue length.
Remove old magic and clean up some printfs.
2000-03-01 21:04:54 +00:00
Bill Fumerola
2394baefd8
'driver support' -> 'driver supports'
2000-02-29 10:02:29 +00:00
Matt Jacob
2e56bc770d
Clean up defines for correct 12160/1080 exclusion. Final 4.0.
...
approved: JKH
2000-02-29 05:48:46 +00:00
Bruce Evans
71c458de9d
Fixed configuration of fast interrupts for the pci cy driver. They were
...
an early newbus casualty. The fix in rev.1.28 didn't work because the
most important part of it used a wrong macro name.
Approved by: jkh
2000-02-28 08:12:24 +00:00
Poul-Henning Kamp
90a822243f
Implement queue-limiting based on bandwidth.
...
Approved by: jkh
2000-02-26 18:28:24 +00:00
Bill Fumerola
bebfe1cadb
o No need to print the vendor/device ID for things that matched succesfully.
...
o ``<device name>'' versus ``device name'' for things that fall under nomatch.
Reviewed by: dfr (in principle)
Approved by: Baron von Hubbard
2000-02-22 21:44:39 +00:00
Bill Fumerola
a91df2ff09
Add the ESS Maestro and the ATI Mobility-1 to the generic chip match and
...
the vga match (respectivly, though they aren't much different anymore..)
These can be found on newer Dell laptops.
Approved by: Sir Hubbard
2000-02-21 21:46:19 +00:00
Nick Hibma
5e78bf3190
Move the warning on wrong IRQ values to the right place, before any
...
resource allocation is attempted.
It will present the user with a message that he has to switch on USB
support in his BIOS.
2000-02-20 14:22:44 +00:00
Doug Rabson
6874d62958
Remove the vga-pci driver. It serves no purpose and it hides the hardware
...
from useful drivers such as the 3D DRI drivers I will be porting for
hardware accelerated OpenGL. The hardware will still be reported during
boot using the nomatch system.
Approved by: jkh
2000-02-19 09:44:06 +00:00
Warner Losh
e6157956d2
Add the VIA 82C596B PCI ISA south bridge on my ASUS P3V133.
...
Approved by: jkh
2000-02-17 06:12:16 +00:00
Matt Jacob
af077239b6
Include the file that defines PCIM_CMD_BUSMASTEREN.
2000-02-16 02:22:37 +00:00
Mike Smith
7af42aebc4
Ensure that the busmaster enable bit is set; we can't assume that all
...
BIOS code will get this right (and some certainly doesn't).
Submitted by: W. Gerald Hicks <jhix@mindspring.com>
Approved by: jkh
2000-02-16 01:12:09 +00:00
Matt Jacob
e142669a43
If the CDB length is greater than 12 for parallel SCSI, ispscsicmd has
...
made the initial queue entry a EXTENDED CMD queue entry, so we have to
go straight to continuation segments for any data segments.
approved: jkh
2000-02-15 00:50:01 +00:00
Peter Wemm
be6ccf3f6c
Do a trivial conversion of xrpu to newbus.
...
Reviewed by: phk ("commit it!" :-)
Pre-Approved by: jkh
2000-02-12 07:56:44 +00:00
Matt Jacob
960f6939af
Add in 12160 (Ultra3) support. Redo things to use the newbus code.
...
Approved: jkh@freebsd.org
PR: 16141
2000-02-11 19:45:17 +00:00
Bill Paul
74ea2d6f60
Update the Tigon driver to use the 12.3.18 firmware release from Alteon.
...
(No changes to the driver code itself.)
Approved by: jkh
2000-02-10 00:37:48 +00:00
Matthew N. Dodd
d00d79c12c
Remove the old copy of this file. It is now active in its new location.
...
Implicit Approval by: jkh
2000-02-09 04:18:41 +00:00
Nick Hibma
4f2e8d6383
Add PCI Id's for i810 chipsets.
...
PR: 16517
Submitted by: SAKIYAMA Nobuo <sakichan@lares.dti.ne.jp>
Approved by: jhk
2000-02-07 12:50:33 +00:00
Nick Hibma
ef4da90333
Disable the generation of SMIs (System Management Interrupts). Always set
...
the PIRQD bit.
This fixes the problem of uhub0 hanging forever during boot when USB
keyboard support is switched on in the BIOS on motherboards with Intel
chipsets (UHCI).
Approved by: The Sheep
2000-02-06 14:52:27 +00:00
Nick Hibma
b70b9ce019
Commit missing bits, forgotten when committing support for suspend/resume
...
for USB.
Call uhci_power when suspending and resuming.
Approved by: The One.
2000-02-04 10:18:37 +00:00
Peter Wemm
872309ccd4
Update the pci->pcic compatability module to newbus. This is a simple
...
conversion to eliminate the compatability shims without making any
significant changes. This eliminates the shim warnings.
Obtained from: n_himba (tweaked by me, don't blame him for this)
Approved by: jkh
2000-02-02 16:49:21 +00:00
Peter Wemm
483df2dd3b
Spell "pci_delete_resource" correctly.
...
Approved by: jkh (who must be very sick of requests now :-)
2000-02-01 18:02:12 +00:00
Nick Hibma
9a69e6509a
bus_release_resource is spellt like bus_release_resource not like
...
bus_delete_resource.
Fixes a problem when the probe succeeded, but the attach failed. The
release of the resources was done inproperly.
Approved by: jkh
2000-01-31 14:05:21 +00:00
Peter Wemm
269a49497f
Remove #include "wd.h" and #if NWDC > 0 as that's always true as this
...
file is 'optional wdc' (note wd.h has both NWDC and NWD in it because
of config quirks)
2000-01-29 16:59:53 +00:00
Peter Wemm
cebf86fa3f
Put a FYI in the compatability shims so that people are aware that they
...
are using an old unconverted driver. Most (if not all) of the drivers
for common hardware are newbus these days. However, we don't want
to encourage people to take the easy way out and write new drivers
using the shims. This is just passive "encouragement".
Reviewed by: phk
2000-01-29 15:37:36 +00:00
Kazutaka YOKOTA
6c94c9a4f7
Add more PCI VGA graphics card descriptions.
...
PR: 10095, 15299, 13850, 16356
Submitted by: Alex Zepeda, Vladimir Kushnir, Alex Vasylenko, Alex.
Obtained from: XFree86 and NetBSD
2000-01-27 12:02:06 +00:00
Nick Hibma
2aff98945c
Properly teardown the allocated and initialised stuff when an error
...
occurs (OHCIwas already done for UHCI).
Get rid of the usbus variable. It is confusing.
Align uhci_pci.c and ohci_pci.c again.
2000-01-26 10:52:27 +00:00
Nick Hibma
9e2bdb4369
Don't set ivars until we checked the return value from device_add_child.
2000-01-26 10:27:12 +00:00
Matt Jacob
8dc7582ba5
put things in place for jumbograms
2000-01-25 06:09:53 +00:00
Matt Jacob
110bbc0dcf
define jumbo packet size
2000-01-25 04:11:33 +00:00
Bill Paul
f43d9309a5
Add support for DM9102A boards with Davicom DM9801 HomePNA PHYs.
2000-01-24 17:19:37 +00:00
Peter Wemm
fe8140cd15
Fix some warnings.
2000-01-23 19:27:11 +00:00
Gerard Roudier
4f6c691377
Add 53C895A and 53C1510D device description to the ncr chip table.
2000-01-23 12:27:49 +00:00
Matt Jacob
1d575e0fd3
Correctly put the place to mark EOP where we actually do the packet
...
transmission- this handles the odd and rare case of a list terminating
with a zero length mbuf.
2000-01-23 03:19:49 +00:00
Matt Jacob
1c3c868623
add PREVIOUS index macro for transmit side
2000-01-23 03:18:14 +00:00
Matt Jacob
4931a540da
Remove some debugging code, replace one line that had spaces with tabs,
...
and fix a silly botch for reinit.
2000-01-23 02:07:31 +00:00