Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/ppbvar.h
RevisionDateAuthorComments
 1.4  16-Apr-2020  rin Revert previous for now:
http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html

The reasoning turned out to be wrong; __KERNEL_RCSID() in header files
does *not* overwrite RCSID in main source files. The real problem is that
it inserts its RCSID into *every* object files. However, it can be still
useful even if heavily duplicated.
 1.3  16-Apr-2020  rin Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by
overwriting RCSID in main source files.

XXX
The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish
to have RCSID of header files in kernel binary, we need something like
__FBSDID() macro in FreeBSD.
 1.2  18-Apr-2017  msaitoh branches: 1.2.2; 1.2.4; 1.2.12; 1.2.16; 1.2.32;
Enable PCIe's interrupt as much as possilbe in ppb(4) to detect and count
status change event. HotPlug function itself have not implemented yet.

- Interrupt and each event are counted by evcnt(9). Example:

ppb0 Interrupt 0 0 intr
ppb0 Attention Button Pressed 0 0 misc
ppb0 Power Fault Detected 0 0 misc
ppb0 MRL Sensor Changed 0 0 misc
ppb0 Presence Detect Changed 0 0 misc
ppb0 Command Completed 0 0 misc
ppb0 Data Link Layer State Changed 0 0 misc

- Print message if ppb_printevent is not zero. The default vaule is 0.
The output messages:

Attention Button Pressed
Power Fault Detected
MRL Sensor Changed
Presence Detect Changed
Command Completed
Data Link Layer State Changed

- Remove workaround code to disable interrupt (ppb.c rev. 1.35).

Tested with Dell Latitude 2120 without if_bge.c rev. 1.304's workaround.
dmesg when bge's device timeout occured:

ppb3: Presence Detect Changed
ppb3: Data Link Layer State Changed
ppb3: Presence Detect Changed

vmstat -e |grep ppb

ppb3 Interrupt 2 0 intr
ppb3 Presence Detect Changed 2 0 misc
ppb3 Data Link Layer State Changed 1 0 misc
 1.1  05-Apr-2017  msaitoh Move struct ppb_softc into ppbvar.h.
 1.2.32.1  20-Apr-2020  bouyer Sync with HEAD
 1.2.16.2  03-Dec-2017  jdolecek update from HEAD
 1.2.16.1  18-Apr-2017  jdolecek file ppbvar.h was added on branch tls-maxphys on 2017-12-03 11:37:28 +0000
 1.2.12.2  28-Aug-2017  skrll Sync with HEAD
 1.2.12.1  18-Apr-2017  skrll file ppbvar.h was added on branch nick-nhusb on 2017-08-28 17:52:25 +0000
 1.2.4.2  26-Apr-2017  pgoyette Sync with HEAD
 1.2.4.1  18-Apr-2017  pgoyette file ppbvar.h was added on branch pgoyette-localcount on 2017-04-26 02:53:22 +0000
 1.2.2.2  21-Apr-2017  bouyer Sync with HEAD
 1.2.2.1  18-Apr-2017  bouyer file ppbvar.h was added on branch bouyer-socketcan on 2017-04-21 16:53:51 +0000

RSS XML Feed